Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- mapListEmpty :: MapList a
- mapListFromList :: [a] -> MapList a
- fromIndexedList :: IndexedList a -> MapList a
- fromIntMap :: IntMap a -> MapList a
- mapListToList :: Default a => MapList a -> [a]
- toDescList :: MapList a -> IndexedList a
- listFromDescList :: Default a => IndexedList a -> [a]
- consDef :: Default a => Key -> [a] -> [a]
- type AccWithIndexedList a = ([a], IndexedList a)
- type Key = Key
- type IndexedList a = [(Key, a)]
- type MapString = MapList Char
- newtype MapList a = MapList {}
- mapListFindMaybe :: Key -> MapList a -> Maybe a
- mapListIndexMaybe :: MapList a -> Key -> Maybe a
Documentation
mapListEmpty :: MapList a #
Construction
mapListFromList :: [a] -> MapList a #
fromIndexedList :: IndexedList a -> MapList a #
fromIntMap :: IntMap a -> MapList a #
mapListToList :: Default a => MapList a -> [a] #
DeConstruction
toDescList :: MapList a -> IndexedList a #
listFromDescList :: Default a => IndexedList a -> [a] #
Internal function
type AccWithIndexedList a = ([a], IndexedList a) #
Types
type IndexedList a = [(Key, a)] #
Instances
IsString MapString # | |
Defined in HelVM.HelIO.Collections.MapList fromString :: String -> MapString # | |
Default a => IsList (MapList a) # | |
Eq a => Eq (MapList a) # | |
Ord a => Ord (MapList a) # | |
Defined in HelVM.HelIO.Collections.MapList | |
Read a => Read (MapList a) # | |
(Default a, Show a) => Show (MapList a) # | Standard instances |
Semigroup (MapList a) # | |
Monoid (MapList a) # | |
InsertDef (MapList a) a # | |
Default a => FoldableLL (MapList a) a # | ListLike instances |
Defined in HelVM.HelIO.Collections.MapList | |
IndexSafe (MapList a) a # | My instances |
type Item (MapList a) # | |
Defined in HelVM.HelIO.Collections.MapList |
mapListFindMaybe :: Key -> MapList a -> Maybe a #
Internal functions
mapListIndexMaybe :: MapList a -> Key -> Maybe a #