enummapset-0.5.2.1: IntMap and IntSet with Enum keys/elements.

Copyright(c) 2011-2013 Michal Terepeta
LicenseBSD3
Maintainermichal.terepeta@gmail.com
Stabilityalpha
Portabilityuses DeriveDataTypeable and GeneralizedNewtypeDeriving
Safe HaskellNone
LanguageHaskell98

Data.EnumMap

Description

 

Documentation

insertWith' :: Enum k => (a -> a -> a) -> k -> a -> EnumMap k a -> EnumMap k a Source

insertWithKey' :: Enum k => (k -> a -> a -> a) -> k -> a -> EnumMap k a -> EnumMap k a Source

fold :: (a -> b -> b) -> b -> EnumMap k a -> b Source

foldWithKey :: Enum k => (k -> a -> b -> b) -> b -> EnumMap k a -> b Source