Module

Specular.Internal.Effect

Package
purescript-specular
Repository
restaumatic/purescript-specular

#Ref Source

data Ref :: Type -> Type

#newRef Source

newRef :: forall a. a -> Effect (Ref a)

#readRef Source

readRef :: forall a. Ref a -> Effect a

#writeRef Source

writeRef :: forall a. Ref a -> a -> Effect Unit

#modifyRef Source

modifyRef :: forall a. Ref a -> (a -> a) -> Effect Unit

#DelayedEffects Source

Re-exports from Effect

#Effect Source

data Effect :: Type -> Type

The Effect type constructor is used to represent native effects.

See Handling Native Effects with the Effect Monad for more details.

The type parameter denotes the return type of running the effect.

Instances