Module

Data.ObjectMap

Package
purescript-object-maps
Repository
thought2/purescript-object-maps

#ObjectMap Source

newtype ObjectMap k v

Instances

#delete Source

delete :: forall k v. EncodeJson k => k -> ObjectMap k v -> ObjectMap k v

#empty Source

empty :: forall k v. ObjectMap k v

#fromArray Source

fromArray :: forall k v. EncodeJson k => Array (Tuple k v) -> ObjectMap k v

#insert Source

insert :: forall k v. EncodeJson k => k -> v -> ObjectMap k v -> ObjectMap k v

#lookup Source

lookup :: forall k v. EncodeJson k => k -> ObjectMap k v -> Maybe v

#toArray Source

toArray :: forall k v. ObjectMap k v -> Array (Tuple k v)

Re-exports from Data.Argonaut.Encode