packages feed

enummapset-th-0.6.0.1: enummapset-th.cabal

name:           enummapset-th
version:        0.6.0.1
synopsis:       TH-generated EnumSet/EnumMap wrappers around IntSet/IntMap.
description:
  This package wraps @IntSet@ and @IntMap@ from @containers@, and provides
  fast sets and maps keyed on any data type with a well-behaved @Enum@
  instance. Useful for derived @Enum@s, newtype'd @Int@s, or any data type
  that can be packed into an @Int@: just implement @fromEnum@ and @toEnum@.
  .
  The boilerplate is generated using Template Haskell, so unlike
  @enummapset@ it's easier to maintain and keep up-to-date with
  @containers@. On the downside, it's less portable.
  .
  Note that "Data.EnumMap.Lazy" and "Data.EnumMap.Strict" provide distinct
  newtype wrappers, and their respective 'Functor' instances behave as
  expected, unlike that of @IntMap@ which is alway lazy.
homepage:       https://github.com/liyang/enummapset-th
license:        BSD3
license-file:   LICENSE
author:         Liyang HU
maintainer:     enummapset-th@liyang.hu
copyright:      © 2013 Liyang HU
category:       Data
build-type:     Simple
cabal-version:  >= 1.8
extra-source-files:
    include/map.inc

source-repository head
    type:       git
    location:   http://github.com/liyang/enummapset-th

library
    exposed-modules:
        Data.EnumMap.Lazy
        Data.EnumMap.Strict
        Data.EnumSet
    other-modules:
        Data.EnumMapSetWrapper
    build-depends:
        base >= 4.5 && < 5,
        deepseq >= 1.3,
        containers >= 0.5 && < 0.6,
        template-haskell >= 2.7
    include-dirs: include
    ghc-options: -Wall

-- vim: et sw=4 ts=4 sts=4: