Eagerly evaluated functions for Maps.
bower install purescript-maps-eager
map :: Map String Int map = fromFoldable [ Tuple "a" 1 , Tuple "b" 2 , Tuple "c" 3]
Often we want to iterate over the keys and values. This package provides functions that return the keys and values in an
> keys map [ "a", "b", "c" ] > values map [ 1, 2, 3 ]
Also given a value you can search for matching keys:
reverseLookup 3 > Just "c" reverseLookupAll 3 > ["c"]
To run tests:
This repository's documentation is hosted on Pursuit.
To run linters:
To run formatters:
This repository uses GitHub Actions to lint and test each commit. Each commit should be formatted and its corresponding documentation should be updated.
This repository adheres to semantic versioning standards. For more information on semantic versioning visit semver.
Bump2version is used to version and tag changes. For example:
Please read this repository's changelog for details on changes that have been made.
Please read this repository's guidelines on contributing for details on the process for submitting pull requests. Moreover, our code of conduct declares our collaboration standards.
- Joel Lefkowitz - Initial work
Lots of love to the open source community!