map-syntax

Syntax sugar for defining maps

Version on this page:0.3@rev:6
LTS Haskell 23.0:0.3@rev:9
Stackage Nightly 2024-12-13:0.3@rev:9
Latest on Hackage:0.3@rev:9

See all snapshots map-syntax appears in

BSD-3-Clause licensed by Doug Beardsley
Maintained by [email protected]
This version can be pinned in stack with:map-syntax-0.3@sha256:2de7ca0dfa3984a36fe911e3b2194288696525e1bb2dd022d6bbc446073080aa,2459

Module documentation for 0.3

Depends on 3 packages(full list with versions):

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.