map-syntax-0.2: map-syntax.cabal
name: map-syntax
version: 0.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: Doug Beardsley
build-type: Simple
cabal-version: >= 1.10
category: Data Structures
extra-source-files:
.ghci,
LICENSE,
README.md,
runTestsAndCoverage.sh
Library
hs-source-dirs: src
default-language: Haskell2010
exposed-modules:
Data.Map.Syntax
build-depends:
base >= 4 && < 5,
containers >= 0.3 && < 0.6,
mtl >= 2.0 && < 2.3
if impl(ghc >= 6.12.0)
ghc-options: -Wall -fwarn-tabs -funbox-strict-fields -O2
-fno-warn-unused-do-bind
else
ghc-options: -Wall -fwarn-tabs -funbox-strict-fields -O2
ghc-prof-options: -prof -auto-all
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: -fhpc
ghc-options: -Wall -fwarn-tabs -fhpc -O2
build-depends:
base >= 4 && < 5,
containers >= 0.3 && < 0.6,
deepseq >= 1.3 && < 2,
HUnit >= 1.2 && < 2,
mtl >= 2.0 && < 2.3,
QuickCheck >= 2.3.0.2 && < 3,
test-framework >= 0.8.0.3 && < 0.9,
test-framework-hunit >= 0.2.7 && < 0.4,
test-framework-quickcheck2 >= 0.2.12.1 && < 0.4,
transformers >= 0.3 && < 0.5