Module

Grain.Internal.Ref

#Ref

data Ref :: Type -> Type

#modify_

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

#new

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

#read

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

#modify

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

#write

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

Modules