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

Minor README issue #4

Open
treeowl opened this issue Sep 3, 2014 · 0 comments
Open

Minor README issue #4

treeowl opened this issue Sep 3, 2014 · 0 comments

Comments

@treeowl
Copy link

treeowl commented Sep 3, 2014

readme.md indicates that foldrW/buildW may be expressive enough to support mapM_. I don't think mapM_ is a problem even for foldr/build, and in fact it's currently defined so it can fuse, with no obvious challenges. Some more challenging functions include scanl, scanl', mapAccumL, and foldM. These can all be written to fuse with foldr/build, but have the potential to produce terrible results if arity analysis fails. There are also simpler missed opportunities in the GHC libs like scanr and mapAccumR. I've been working on some of these issues with others, but I'm hoping your work will give everything a boost.

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

1 participant