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.

  1. data IntMap a

    classy-prelude-yesod ClassyPrelude.Yesod

    A map of integers to values a.

  2. data IntMap s 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.

  3. data IntMap s a

    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.

  4. 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.

  5. newtype IntMapOf k v

    semirings Data.Semiring

    Wrapper to mimic Map (Sum Int) v, Map (Product Int) v, etc., while having a more efficient underlying representation.

  6. IntMapOf :: IntMap v -> IntMapOf k v

    semirings Data.Semiring

    No documentation available.

  7. data IntMapF a r

    yaya-containers Yaya.Containers.Pattern.IntMap

    No documentation available.

  8. intMapDefault :: elem -> Int -> T (IntMap elem) elem

    data-accessor Data.Accessor.Container

    No documentation available.

  9. intMapMaybe :: Int -> T (IntMap elem) (Maybe elem)

    data-accessor Data.Accessor.Container

    No documentation available.

  10. intMapToEnumMap :: IntMap a -> EnumMap k a

    enummapset Data.EnumMap.Lazy

    Wrap IntMap.

Page 3 of many | Previous | Next