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

Can traversals be added? #31

Open
treeowl opened this issue Jan 15, 2015 · 1 comment
Open

Can traversals be added? #31

treeowl opened this issue Jan 15, 2015 · 1 comment

Comments

@treeowl
Copy link
Contributor

treeowl commented Jan 15, 2015

Maybe I'm missing something, but I would think you could add versions of traverse and mapAccumL to take a FoldM and a Fold, respectively.

Edit: traverse probably doesn't work, but something similar might, that takes the extra argument into account.

@treeowl treeowl changed the title Can tranv Can traversals be added? Jan 15, 2015
@Gabriella439
Copy link
Owner

This is way too late of a reply at this point, but I believe the foldl analog of traverse/mapAccumL is Control.Foldl.scan

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