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.
hvr / map-syntax Goto Github PK
View Code? Open in Web Editor NEWThis project forked from mightybyte/map-syntax
Syntax sugar and explicit semantics for statically defined maps
License: BSD 3-Clause "New" or "Revised" License