Module

Identy.ObjectMap

Package
purescript-identy
Repository
oreshinya/purescript-identy

#fromFoldable Source

fromFoldable :: forall f k v. Foldable f => Newtype k String => f (Tuple k v) -> ObjectMap k v

#toUnfoldable Source

toUnfoldable :: forall f k v. Unfoldable f => Newtype k String => ObjectMap k v -> f (Tuple k v)

#keys Source

keys :: forall k v. Newtype k String => ObjectMap k v -> Array k

#values Source

values :: forall k v. ObjectMap k v -> Array v

#update Source

update :: forall k v. Newtype k String => (v -> Maybe v) -> k -> ObjectMap k v -> ObjectMap k v

#union Source

union :: forall k v. ObjectMap k v -> ObjectMap k v -> ObjectMap k v

#size Source

size :: forall k v. ObjectMap k v -> Int

#singleton Source

singleton :: forall k v. Newtype k String => k -> v -> ObjectMap k v

#member Source

member :: forall k v. Newtype k String => k -> ObjectMap k v -> Boolean

#lookup Source

lookup :: forall k v. Newtype k String => k -> ObjectMap k v -> Maybe v

#isEmpty Source

isEmpty :: forall k v. ObjectMap k v -> Boolean

#insert Source

insert :: forall k v. Newtype k String => k -> v -> ObjectMap k v -> ObjectMap k v

#empty Source

empty :: forall k v. ObjectMap k v

#delete Source

delete :: forall k v. Newtype k String => k -> ObjectMap k v -> ObjectMap k v

#alter Source

alter :: forall k v. Newtype k String => (Maybe v -> Maybe v) -> k -> ObjectMap k v -> ObjectMap k v