Skip to content
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

Merged
merged 24 commits into from
Oct 5, 2020

Conversation

coot
Copy link
Contributor

@coot coot commented Sep 3, 2020

No description provided.

@coot coot added io-sim Issues related to io-sim and io-sim-classes. io-classes Issues / PRs related to io-classes labels Sep 3, 2020
@coot coot requested a review from dcoutts September 3, 2020 15:00
@coot coot force-pushed the coot/io-sim-and-io-sim-classes branch 4 times, most recently from 136f7bc to 9088c6b Compare September 3, 2020 19:57
Copy link
Contributor

@mrBliss mrBliss left a 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.

@coot coot force-pushed the coot/io-sim-and-io-sim-classes branch from 9088c6b to ddccb17 Compare September 4, 2020 08:13
@coot
Copy link
Contributor Author

coot commented Sep 4, 2020

Please use a spell checker. This is going on Hackage and hopefully attract some attention. Typos give a bad first impression.

That's not finished yet, anyway thanks for proof reading.

@mrBliss
Copy link
Contributor

mrBliss commented Sep 4, 2020

Please use a spell checker. This is going on Hackage and hopefully attract some attention. Typos give a bad first impression.

That's not finished yet, anyway thanks for proof reading.

You're welcome. It's one of my pet peeves 🙂.

@coot coot force-pushed the coot/io-sim-and-io-sim-classes branch from 6c2ca96 to 162fe7d Compare September 4, 2020 08:45
@coot coot marked this pull request as ready for review September 4, 2020 13:07
@coot
Copy link
Contributor Author

coot commented Sep 4, 2020

This is massive enough for a review.

@coot coot force-pushed the coot/io-sim-and-io-sim-classes branch 5 times, most recently from e4e09cf to 5ae2f24 Compare September 4, 2020 13:53
@coot coot force-pushed the coot/io-sim-and-io-sim-classes branch from c818efa to c1ee15a Compare September 4, 2020 14:41
@coot coot force-pushed the coot/io-sim-and-io-sim-classes branch from c1ee15a to af1e821 Compare September 14, 2020 06:07
@coot
Copy link
Contributor Author

coot commented Sep 16, 2020

Related to input-output-hk/io-sim#29

@coot coot mentioned this pull request Sep 30, 2020
Copy link
Contributor

@dcoutts dcoutts left a 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.

Comment on lines +26 to +27
`io-sim` supports both `io-sim-classes` class hierarchy and `base`
/ `exceptions` class hierarchies (they diverge in some detail).
Copy link
Contributor

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.

@coot coot force-pushed the coot/io-sim-and-io-sim-classes branch from af1e821 to 2d88e62 Compare October 5, 2020 10:19
coot added 4 commits October 5, 2020 12:20
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`.
coot added 20 commits October 5, 2020 12:20
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.
@coot coot force-pushed the coot/io-sim-and-io-sim-classes branch from 2d88e62 to 40264bd Compare October 5, 2020 10:22
@coot
Copy link
Contributor Author

coot commented Oct 5, 2020

bors merge

@iohk-bors
Copy link
Contributor

iohk-bors bot commented Oct 5, 2020

@iohk-bors iohk-bors bot merged commit 963bdfb into master Oct 5, 2020
@iohk-bors iohk-bors bot deleted the coot/io-sim-and-io-sim-classes branch October 5, 2020 12:46
coot added a commit that referenced this pull request May 16, 2022
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]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
io-classes Issues / PRs related to io-classes io-sim Issues related to io-sim and io-sim-classes.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants