packages feed

generic-trie-0.3.2: generic-trie.cabal

name:                generic-trie
version:             0.3.2
synopsis:            A map, where the keys may be complex structured data.
description:         This type implements maps where the keys are themselves
                     complex structured data.  For example, the keys may be
                     the abstract syntax trees for a programming language.
                     The map is implemented as a trie, so common parts of the
                     keys will be shared in the representation.  The library
                     provides a generic implementation of the data structure,
                     so values of types that have support for 'Generic' may
                     be automatically used as keys in the map.
license:             BSD3
license-file:        LICENSE
author:              Eric Mertens
maintainer:          emertens@gmail.com
category:            Data
build-type:          Simple
cabal-version:       >=1.10
homepage:            http://github.com/glguy/tries
bug-reports:         http://github.com/glguy/tries/issues
tested-with:         GHC ==7.8.4
                      || ==7.10.3
                      || ==8.0.2
                      || ==8.2.2
                      || ==8.4.2
                      || ==8.6.1
                      || ==8.8.1
                      || ==8.10.7
                      || ==9.0.2
                      || ==9.2.2
                      || ==9.4.2

extra-source-files:
  CHANGELOG.md

library
  exposed-modules:     Data.GenericTrie,
                       Data.GenericTrie.Internal
  other-modules:       Prelude
  build-depends:       base             >= 4.7.0.2 && < 4.18,
                       transformers     >= 0.2     && < 0.7,
                       containers       >= 0.4.2.1 && < 0.7
  GHC-options:         -O2 -Wall

  hs-source-dirs:      src
  default-language:    Haskell2010

-- cabal repl seems to choke on the custom prelude if you just
-- run it on the library in the usual way. If you instead say
-- cabal repl bogus, then it works just fine.
executable bogus
  main-is:             Main.hs
  hs-source-dirs:      app
  default-language:    Haskell2010
  build-depends:       base
                     , generic-trie

source-repository head
  type: git
  location: git://github.com/glguy/tries.git