pete-murphy/elm-loadable/2.1.0

Loadable.Dict

Utility functions for working with Dicts of Loadable values

get : comparable -> Dict comparable (Loadable e a) -> Loadable e a

Get the value from a Dict of Loadable values, defaulting to notAsked if the key is not found

comparable
-> Dict comparable (Loadable e a)
-> Dict comparable (Loadable e a)

Transition an entry in a Dict of Loadable values to loading, inserting loading at the key if it's not already present