DA.TextMap
TextMap - A map is an associative array data type composed of a collection of key/value pairs such that, each possible key appears at most once in the collection.Module Snapshot
Lifecycle
Stable.
Notices
Status:
active
Introduced in: 3.4.9
Removed in: -
Warnings: 0
Deprecations: 0
Deprecated since: -Functions
fromList
fromListWithL
fromListWithR
fromListWithL
with the combining function flipped. Examples:
fromListWith
toList
empty
size
null
lookup
member
filter
TextMap using a predicate: keep only the entries where the
value satisfies the predicate.
filterWithKey
TextMap using a predicate: keep only the entries which
satisfy the predicate.
delete
singleton
insert
insertWith
f new_value old_value.
union
merge
merge f g h x y applies f to all key/value pairs
whose key only appears in x, g to all pairs whose key only appears
in y and h to all pairs whose key appears in both x and y.
In the end, all pairs yielding Some are collected as the result.
Orphan Typeclass Instances
-
instance Show a => Show (TextMap a) -
instance Eq a => Eq (TextMap a) -
instance Ord a => Ord (TextMap a) -
instance Semigroup (TextMap b) -
instance Monoid (TextMap b) -
instance Functor TextMap -
instance Foldable TextMap -
instance Traversable TextMap