Skip to content
Sections
>> Trisquel >> 套件 >> etiona >> doc >> libghc-enummapset-th-doc
etiona  ]
[ 原始碼: haskell-enummapset-th  ]

套件: libghc-enummapset-th-doc (0.6.1.1-1)

TH-generated EnumSet/EnumMap wrappers around IntSet/IntMap; documentation

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 Enums, newtype'd Ints, 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.

This package provides the documentation for a library for the Haskell programming language. See http://www.haskell.org/ for more information on Haskell.

其他與 libghc-enummapset-th-doc 有關的套件

  • 依賴
  • 推薦
  • 建議
  • rec: ghc-doc
    Documentation for the Glasgow Haskell Compilation system
  • rec: libjs-mathjax
    JavaScript display engine for LaTeX and MathML

下載 libghc-enummapset-th-doc

下載可用於所有硬體架構的
硬體架構 套件大小 安裝後大小 檔案
all 31.2 kB453 kB [文件列表]