map-syntax: Syntax sugar for defining maps

[ bsd3, data-structures, library ] [ Propose Tags ]

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.


[Skip to Readme]

Modules

[Index]

Downloads

Note: This package has metadata revisions in the cabal description newer than included in the tarball. To unpack the package including the revisions, use 'cabal get'.

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees

Candidates

Versions [RSS] 0.1, 0.2, 0.2.0.1, 0.2.0.2, 0.3
Dependencies base (>=4 && <4.11), containers (>=0.3 && <0.6), mtl (>=2.0 && <2.3) [details]
License BSD-3-Clause
Author Doug Beardsley
Maintainer mightybyte@gmail.com
Revised Revision 2 made by DougBeardsley at 2018-03-06T14:34:11Z
Category Data Structures
Source repo head: git clone https://github.com/mightybyte/map-syntax.git
Uploaded by DougBeardsley at 2017-01-30T14:45:15Z
Distributions Debian:0.3, FreeBSD:0.2, LTSHaskell:0.3, NixOS:0.3, Stackage:0.3
Reverse Dependencies 15 direct, 61 indirect [details]
Downloads 14903 total (29 in the last 30 days)
Rating 2.0 (votes: 1) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs available [build log]
Last success reported on 2017-01-30 [all 1 reports]

Readme for map-syntax-0.2.0.2

[back to package description]

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.