map-syntax

Syntax sugar for defining maps

Version on this page:0.2.0.2@rev:1
LTS Haskell 11.22:0.2.0.2@rev:2
Stackage Nightly 2018-03-12:0.2.0.2@rev:2
Latest on Hackage:0.3@rev:3

See all snapshots map-syntax appears in

BSD-3-Clause licensed by Doug Beardsley
Maintained by mightybyte@gmail.com
This version can be pinned in stack with:map-syntax-0.2.0.2@sha256:f8205f1f917f16053960ba89576a8420d744f03bfbe8539d153153c257e2474c,2127

Module documentation for 0.2.0.2

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.