name: map-syntax version: 0.3 x-revision: 2 synopsis: Syntax sugar for defining maps 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. license: BSD3 license-file: LICENSE author: Doug Beardsley maintainer: mightybyte@gmail.com build-type: Simple cabal-version: >= 1.10 category: Data Structures Tested-With: GHC == 7.4.2, GHC == 7.6.3, GHC == 7.8.4, GHC == 7.10.2, GHC == 8.0.1, GHC == 8.2.1, GHC == 8.4.1 extra-source-files: .ghci, LICENSE, README.md, runCoverage.sh Library hs-source-dirs: src default-language: Haskell2010 exposed-modules: Data.Map.Syntax build-depends: base >= 4.3 && < 4.14, containers >= 0.3 && < 0.7, mtl >= 2.0 && < 2.3 ghc-options: -Wall -fwarn-tabs -funbox-strict-fields -fno-warn-unused-do-bind -- See https://ghc.haskell.org/trac/ghc/wiki/Migration/8.0#base-4.9.0.0 if impl(ghc >= 8.0) ghc-options: -Wcompat -Wnoncanonical-monad-instances -Wnoncanonical-monadfail-instances else build-depends: semigroups == 0.18.* source-repository head type: git location: https://github.com/mightybyte/map-syntax.git Test-suite testsuite hs-source-dirs: src test type: exitcode-stdio-1.0 main-is: TestSuite.hs other-modules: Data.Map.Syntax , Data.Map.Syntax.Util , Data.Map.Syntax.Tests default-language: Haskell2010 ghc-options: -Wall -fwarn-tabs -- See https://ghc.haskell.org/trac/ghc/wiki/Migration/8.0#base-4.9.0.0 if impl(ghc >= 8.0) ghc-options: -Wcompat -Wnoncanonical-monad-instances -Wnoncanonical-monadfail-instances else build-depends: semigroups == 0.18.* build-depends: base, containers, deepseq >= 1.3 && < 2, HUnit >= 1.2 && < 2, mtl, QuickCheck >= 2.3.0.2 && < 3, hspec >= 2.2.3 && < 2.8, transformers >= 0.3 && < 0.6