Skip to content

Comments

Add functional methods for fastmap#29

Open
wch wants to merge 3 commits intomainfrom
functional
Open

Add functional methods for fastmap#29
wch wants to merge 3 commits intomainfrom
functional

Conversation

@wch
Copy link
Member

@wch wch commented Jan 14, 2023

Closes #25.

This adds the following methods to fastmap:

  • map(), map_with_key()
  • filter(), filter_with_key(), filter_key()
  • modify(), modify_with_key(): like map methods, but modifies in place.
  • walk(), walk_with_key(): like map methods, but doesn't collect return values.

I'd also like to add methods to filter in place, but need a good name for it.

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

Successfully merging this pull request may close these issues.

Utilities for fastmaps

1 participant