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 'imapFrom' function and family #4

Open
chshersh opened this issue Sep 22, 2017 · 0 comments
Open

Add 'imapFrom' function and family #4

chshersh opened this issue Sep 22, 2017 · 0 comments

Comments

@chshersh
Copy link
Collaborator

Sometimes user needs to start mapping not from zero but from one. With old zip solution you can just replace zip [0..] with zip [1..] but there's no simple way to do it with ilist package. Source code of imap function gives clear way how to implement this function. And imap can be defined in terms of imapFrom without loss of performance most likely.

Well, it seems like a lot of functions can have *from version. If this change is too radical than I can propose to add such function per issue request.

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