Hoogle Search
Within LTS Haskell 24.2 (ghc-9.10.2)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
-
classy-prelude-yesod ClassyPrelude.Yesod A map of integers to values a.
-
refined-containers Data.IntMap.Refined A wrapper around a regular IntMap with a type parameter s identifying the set of keys present in the map. An Int key may not be present in the map, but a Key s is guaranteed to be present (if the s parameters match). Thus the map is isomorphic to a (total) function Key s -> a, which motivates many of the instances below. An IntMap always knows its set of keys, so given IntMap s a we can always derive KnownIntSet s by pattern matching on the Dict returned by keysSet.
-
refined-containers Data.IntMap.Strict.Refined A wrapper around a regular IntMap with a type parameter s identifying the set of keys present in the map. An Int key may not be present in the map, but a Key s is guaranteed to be present (if the s parameters match). Thus the map is isomorphic to a (total) function Key s -> a, which motivates many of the instances below. An IntMap always knows its set of keys, so given IntMap s a we can always derive KnownIntSet s by pattern matching on the Dict returned by keysSet.
intMap :: TomlCodec Int -> TomlCodec v -> Key -> TomlCodec (IntMap v)tomland Toml.Codec.Combinator.Map Bidirectional codec for IntMap. It takes birectional converter for keys and values and produces bidirectional codec for IntMap. It works with array of tables, so you need to specify IntMaps in TOML files like this:
myIntMap = [ { name = "foo", payload = 42 } , { name = "bar", payload = 69 } ]
TomlCodec for such TOML field can look like this:Toml.intMap (Toml.text "name") (Toml.int "payload") "myIntMap"
If there's no key with the name "myIntMap" then empty IntMap is returned.-
semirings Data.Semiring Wrapper to mimic Map (Sum Int) v, Map (Product Int) v, etc., while having a more efficient underlying representation.
IntMapOf :: IntMap v -> IntMapOf k vsemirings Data.Semiring No documentation available.
-
yaya-containers Yaya.Containers.Pattern.IntMap No documentation available.
intMapDefault :: elem -> Int -> T (IntMap elem) elemdata-accessor Data.Accessor.Container No documentation available.
intMapMaybe :: Int -> T (IntMap elem) (Maybe elem)data-accessor Data.Accessor.Container No documentation available.
intMapToEnumMap :: IntMap a -> EnumMap k aenummapset Data.EnumMap.Lazy Wrap IntMap.