Skip to content

Conversation

garyb
Copy link
Member

@garyb garyb commented Aug 7, 2014

Potentially resolves #6.

How does this look?


class (Monad m, Alternative m) <= MonadPlus m

guard :: forall m. (MonadPlus m) => Boolean -> m Unit
Copy link
Contributor

Choose a reason for hiding this comment

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

Finally! Now I can add this to the book under array comprehensions :)

@garyb
Copy link
Member Author

garyb commented Aug 7, 2014

Updated w/Lazy1

@paf31
Copy link
Contributor

paf31 commented Aug 7, 2014

Looks good to me :shipit:

@joneshf Any comments?

@paf31
Copy link
Contributor

paf31 commented Aug 11, 2014

All looks good to me :)

garyb added a commit that referenced this pull request Aug 11, 2014
@garyb garyb merged commit 3100ed7 into master Aug 11, 2014
@garyb garyb deleted the alternative branch August 11, 2014 20:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Alternative reform
2 participants