EngageSoftware/elm-engage-common/6.0.0

NOTE: the latest version is 8.2.10

Engage.SelectDict

SelectDict

type SelectDict comparable a

A SelectDict type

getAfter : SelectDict comparable a -> Dict comparable a

Get the after Dict

getBefore : SelectDict comparable a -> Dict comparable a

Get the before Dict

Dict comparable a
-> ( comparable, a )
-> Dict comparable a
-> SelectDict comparable a

Convert a normal Dict into a SelectDict

insertAfter : comparable -> a -> SelectDict comparable a -> SelectDict comparable a

Insert into the after Dict

insertBefore : comparable -> a -> SelectDict comparable a -> SelectDict comparable a

Insert into the before Dict

keys : SelectDict comparable a -> List comparable

Get the keys of the SelectDict

map :
(comparable -> a -> b)
-> SelectDict comparable a
-> SelectDict comparable b

Map a SelectDict

SelectDict comparable a
-> ( Dict comparable a, ( comparable, a ), Dict comparable a )

Get the segments of the SelectDict

select : comparable -> SelectDict comparable a -> SelectDict comparable a

Select something from the SelectDict

getSelected : SelectDict comparable a -> ( comparable, a )

Get the selected Dict

selectedKey : SelectDict comparable a -> comparable

Get the selected key

selectedValue : SelectDict comparable a -> a

Get the selected value

size : SelectDict comparable a -> Int

Get the size of the SelectDict

toDict : SelectDict comparable a -> Dict comparable a

Get a normal Dict from a SelectDict

toSelectList : SelectDict comparable a -> SelectList a

Get a SelectList from a SelectDict

(comparable -> a -> a)
-> SelectDict comparable a
-> SelectDict comparable a

Update the selected SelectDict

values : SelectDict comparable a -> List a

Get the values of the SelectDict