map-syntax

Syntax sugar for defining maps

Version on this page:0.2.0.1@rev:1
LTS Haskell 22.18:0.3@rev:8
Stackage Nightly 2024-04-22:0.3@rev:8
Latest on Hackage:0.3@rev:8

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.2.0.1@sha256:98d6cd8739a862600633098d811286237e263dcb7edbc99557aaeea4cd108076,2048

Module documentation for 0.2.0.1

Depends on 3 packages(full list with versions):
Used by 2 packages in nightly-2016-12-30(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.