@hackage map-syntax0.3
Syntax sugar for defining maps
Categories
License
BSD-3-Clause
Maintainer
mightybyte@gmail.com
Links
Versions
Installation
Tested Compilers
Dependencies (4)
- base >=4.3 && <5
- containers >=0.3 && <1
- mtl >=2.0 && <2.4
- semigroups >=0.18 && <0.19 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.