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

Fantasy Land types have changed #1352

Closed
dead-claudia opened this issue Oct 10, 2016 · 2 comments
Closed

Fantasy Land types have changed #1352

dead-claudia opened this issue Oct 10, 2016 · 2 comments

Comments

@dead-claudia
Copy link
Member

Two things need changed to retain Fantasy Land compatibility:

  1. ap is now reversed: instead of this wrapping the function, the argument wraps the function.
  2. The spec names are now prefixed. I'd still recommend keeping the original names for ease of use, though.

I linked to the issues instead of their related PRs to help guide you all to the rationale for the changes.

@dead-claudia
Copy link
Member Author

dead-claudia commented Oct 10, 2016

Also, I think it might be nice for some to implement for streams Semigroup (stream.concat(other)) and Monoid (m.stream.empty() equivalent to m.stream()) as well. But that's just another orthogonal idea.

@lhorie
Copy link
Member

lhorie commented Oct 26, 2016

Updated

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

No branches or pull requests

2 participants