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.12), containers (>=0.3 && <0.6), mtl (>=2.0 && <2.3), semigroups (==0.18.*) [details]
License BSD-3-Clause
Author Doug Beardsley
Maintainer mightybyte@gmail.com
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.2, FreeBSD:0.2, NixOS:0.3
Downloads 8570 total (94 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

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.