@hackage map-syntax0.2
Syntax sugar for defining maps
Categories
License
BSD-3-Clause
Maintainer
Doug Beardsley
Links
Versions
Installation
Dependencies (3)
- base >=4 && <4.11
- containers >=0.3 && <0.6
- mtl >=2.0 && <2.3 Show all…
Dependents (16)
@hackage/snaplet-wordpress, @hackage/heist-emanote, @hackage/snap, @hackage/snaplet-i18n, @hackage/snaplet-persistent, @hackage/fn-extra, Show all…
Haskell's canonical list of tuples syntax for defining maps is not very convenient and also has ambiguous semantics. This package leverages do notation to create a lighter syntax that makes semantics explicit and also allows the option of fail-fast handling of duplicate keys.