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

Attempt to rewrite (>>=) applications when appropriate #64

Closed
treeowl opened this issue Nov 12, 2014 · 3 comments
Closed

Attempt to rewrite (>>=) applications when appropriate #64

treeowl opened this issue Nov 12, 2014 · 3 comments

Comments

@treeowl
Copy link
Contributor

treeowl commented Nov 12, 2014

Sometimes, as in a replicate-optimized Seq, m >> n or m *> n will be much better than m >>= \_ -> n; in these cases, GHC will not know that they are the same. We can add GHC rewrite rules to attempt to do the right thing as appropriate.

See also #62

@foxik
Copy link
Contributor

foxik commented Nov 12, 2014

Patches welcomed :-)

@treeowl
Copy link
Contributor Author

treeowl commented Nov 21, 2014

Merge request #77

@treeowl
Copy link
Contributor Author

treeowl commented Dec 19, 2014

Let's not bother. Documentation should cover it.

@treeowl treeowl closed this as completed Dec 19, 2014
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