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

Add <&> #48

Closed
chshersh opened this issue Aug 11, 2018 · 2 comments
Closed

Add <&> #48

chshersh opened this issue Aug 11, 2018 · 2 comments
Assignees
Labels
new Bring something new into library (add function or type or interface)

Comments

@chshersh
Copy link
Contributor

This operator is very useful often.

infixl 1 <&>
(<&>) :: Functor f => f a -> (a -> b) -> f b`
@chshersh chshersh added the new Bring something new into library (add function or type or interface) label Aug 11, 2018
@chshersh chshersh added this to the v0.2.0: More improvements milestone Aug 11, 2018
@ghallak
Copy link
Contributor

ghallak commented Aug 11, 2018

@chshersh Is this going to be different from the already available (<&>), or do you mean it should just be re-exported?

@chshersh
Copy link
Contributor Author

@ghallak It should be the same as <&> from base. But this operator was introduced in base only in GHC 8.4.1 while we would like it to have it in relude until 8.0.2 version. So some CPP magic should be involved.

@chshersh chshersh self-assigned this Aug 14, 2018
chshersh pushed a commit that referenced this issue Aug 14, 2018
chshersh added a commit that referenced this issue Aug 14, 2018
* [#48] More reexports from base

* Update changelog
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
new Bring something new into library (add function or type or interface)
Projects
None yet
Development

No branches or pull requests

2 participants