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]
Versions 0.1, 0.2, 0.2.0.1, 0.2.0.2, 0.3
Dependencies base (>=4.3 && <4.13), containers (>=0.3 && <0.7), mtl (>=2.0 && <2.3), semigroups (==0.18.*) [details]
License BSD-3-Clause
Author Doug Beardsley
Maintainer mightybyte@gmail.com
Revised Revision 1 made by DougBeardsley at Sun Oct 21 20:39:22 UTC 2018
Category Data Structures
Source repo head: git clone https://github.com/mightybyte/map-syntax.git
Uploaded by DougBeardsley at Tue Apr 3 20:49:14 UTC 2018
Distributions Debian:0.3, FreeBSD:0.2, NixOS:0.3
Downloads 8984 total (91 in the last 30 days)
Rating 2.0 (votes: 1) [estimated by rule of succession]
Your Rating
  • λ
  • λ
  • λ
Status Docs available [build log]
Last success reported on 2018-04-14 [all 1 reports]
Hackage Matrix CI

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

For package maintainers and hackage trustees


Readme for map-syntax-0.3

[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.