Module

Grain.Internal.Ref

Package
purescript-grain
Repository
purescript-grain/purescript-grain

#Ref Source

data Ref t0

#modify_ Source

modify_ :: forall a. EffectFn2 (a -> a) (Ref a) Unit

#new Source

new :: forall a. EffectFn1 a (Ref a)

#read Source

read :: forall a. EffectFn1 (Ref a) a

#modify Source

modify :: forall a. EffectFn2 (a -> a) (Ref a) a

#write Source

write :: forall a. EffectFn2 a (Ref a) Unit