Module

JS.Runtime.Set

Package
purescript-js-runtime
Repository
rowtype-yoga/purescript-js-runtime

#Set Source

data Set t0

#new Source

new :: forall a. Effect (Set a)

#add Source

add :: forall a. a -> Set a -> Effect Unit

#delete Source

delete :: forall a. a -> Set a -> Effect Unit

#forEach Source

forEach :: forall a. (a -> Effect Unit) -> Set a -> Effect Unit

Native insertion-ordered, live iteration, including values added in callbacks.