Skip to content
This repository was archived by the owner on Jan 17, 2020. It is now read-only.

Conversation

@felixSchl
Copy link
Contributor

I wrote this when playing around with Coroutines in IO which require Parallel instances. I think this code is correct (it certainly compiles), but would not place any bets on it so do with this PR as you please :)

@jdegoes
Copy link
Contributor

jdegoes commented Sep 29, 2017

Looks great. Thank you! 🙏

@jdegoes jdegoes merged commit 61f5732 into slamdata:master Sep 29, 2017
derive newtype instance applyParIO :: Apply ParIO
derive newtype instance applicativeParIO :: Applicative ParIO
derive newtype instance semigroupParIO :: (Semigroup a) => Semigroup (IO a)
derive newtype instance monoidParIO :: (Monoid a) => Monoid (IO a)

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Shouldn't here be (ParIO a)

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oops, you're right. 👍

@felixSchl felixSchl deleted the feature/ParIO branch September 30, 2017 00:04
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Development

Successfully merging this pull request may close these issues.

3 participants