cabal-version: >= 1.10 name: map-syntax version: 0.3 x-revision: 8 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 category: Data Structures Tested-With: GHC == 9.6.2 GHC == 9.4.5 GHC == 9.2.8 GHC == 9.0.2 GHC == 8.10.7 GHC == 8.8.4 GHC == 8.6.5 GHC == 8.4.4 GHC == 8.2.2 GHC == 8.0.2 GHC == 7.10.3 GHC == 7.8.4 GHC == 7.6.3 GHC == 7.4.2 GHC == 7.2.2 GHC == 7.0.4 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 && < 5, containers >= 0.3 && < 0.7, mtl >= 2.0 && < 2.4 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.12, transformers >= 0.3 && < 0.7