Syntax sugar for defining maps

Version on this page:
LTS Haskell 11.22:
Stackage Nightly 2022-06-26:0.3@rev:4
Latest on Hackage:0.3@rev:4

See all snapshots map-syntax appears in

BSD-3-Clause licensed by Doug Beardsley
Maintained by
This version can be pinned in stack with:map-syntax-,2127

Module documentation for

Depends on 3 packages(full list with versions):
Used by 1 package in lts-6.35(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.