-
Notifications
You must be signed in to change notification settings - Fork 87
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
io-sim and io-sim-classes changes towards publication on Hackage #2580
Conversation
136f7bc
to
9088c6b
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please use a spell checker. This is going on Hackage and hopefully attract some attention. Typos give a bad first impression.
9088c6b
to
ddccb17
Compare
That's not finished yet, anyway thanks for proof reading. |
You're welcome. It's one of my pet peeves 🙂. |
6c2ca96
to
162fe7d
Compare
This is massive enough for a review. |
e4e09cf
to
5ae2f24
Compare
c818efa
to
c1ee15a
Compare
c1ee15a
to
af1e821
Compare
Related to input-output-hk/io-sim#29 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is great.
Before we release, we should remove the StrictTVar module and move that somewhere else within our packages. It does not belong in io-sim since it implements something extra that is not covered by the base/stm/asyc package APIs it is covering.
`io-sim` supports both `io-sim-classes` class hierarchy and `base` | ||
/ `exceptions` class hierarchies (they diverge in some detail). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It implements both class hierarchies.
af1e821
to
2d88e62
Compare
That's more consistent with the library name. 'SimM' is exported as a type alias with a warning attached.
Just to be consistent with `IOSim`.
Split the internal implementation from top level interface.
Ordered authors alphabetically, updated copyright notice.
Drop in replacments for similarly named 'stm' functions.
Use traceEventIO, traceMarkerIO name (as in base).
Use forkIO and forkIOWithUnmask, as in `base` package.
Links to hackage will obiously not work at this point.
This forces us to depend on `stm-2.5.0.0`. We also bump version of `io-sim` - this is probably the cheapest way to support both `stm-2.5` and `stm-2.4` (supported by `io-sim-classes-0.1.0.0` and `io-sim-0.1.0.0`).
Using the provided `lengthTBQueue`.
We now depend on `stm-2.5.0.0`.
New names: * newTVarIO * newTMVarIO * newTMVarIODefault * newEmptyTMVarIO * newEmptyTMVarIODefault
Use `MonadSTM.Strict.stateTVar` instead.
It's failing to frequently.
2d88e62
to
40264bd
Compare
bors merge |
Build succeeded: |
2580: io-sim and io-sim-classes changes towards publication on Hackage r=coot a=coot 2662: Split ipv4 and ipv6 addresses in `DiffusionArguments` r=coot a=coot This patch cherry-picks a change from `coot/connection-manager` branch. In that branch we can go even further and remove `getInitiatorLocalAddresses`. Co-authored-by: Marcin Szamotulski <[email protected]>
No description provided.