reflex-0.9.0.0: Higher-order Functional Reactive Programming
Safe HaskellSafe-Inferred
LanguageHaskell2010

Data.AppendMap

Description

 
Synopsis

Documentation

type AppendMap = MonoidalMap Source #

Deprecated: Use MonoidalMap instead

AppendMap is a synonym for MonoidalMap

pattern AppendMap :: Map k v -> MonoidalMap k v Source #

Deprecated: Use MonoidalMap instead

Pattern synonym for MonoidalMap

showTree :: forall k a. (Show k, Show a) => MonoidalMap k a -> String Source #

Displays a MonoidalMap as a tree. See showTree for details.

showTreeWith :: forall k a. (k -> a -> String) -> Bool -> Bool -> MonoidalMap k a -> String Source #

Displays a MonoidalMap as a tree, using the supplied function to convert nodes to string.

_unAppendMap :: MonoidalMap k v -> Map k v Source #

Deprecated: Use getMonoidalMap instead

A synonym for getMonoidalMap

nonEmptyDelete :: Ord k => k -> MonoidalMap k a -> Maybe (MonoidalMap k a) Source #

Deletes a key, returning Nothing if the result is empty.

mapMaybeNoNull :: (a -> Maybe b) -> MonoidalMap token a -> Maybe (MonoidalMap token b) Source #

Like mapMaybe but indicates whether the resulting container is empty

Orphan instances

Default (MonoidalMap k a) Source # 
Instance details

Methods

def :: MonoidalMap k a #