Module
Specular.Ref
- Package
- purescript-specular
- Repository
- restaumatic/purescript-specular
#new Source
new :: forall m a. MonadEffect m => a -> m (Ref a)
Create a new Ref with an initial value.
#modify Source
modify :: forall a m. MonadEffect m => Ref a -> (a -> a) -> m Unit
Modify value of this Ref using a function.
#read Source
read :: forall m a. MonadEffect m => Ref a -> m a
Read the current value of a Ref
#wrapViewWidget Source
wrapViewWidget :: forall m a. MonadWidget m => (WeakDynamic a -> m (Event a)) -> Ref a -> m Unit
#newRef Source
newRef :: forall m a. MonadEffect m => a -> m (Ref a)
Old name for new
.
#newRefWithEvent Source
newRefWithEvent :: forall m a. MonadFRP m => a -> Event (a -> a) -> m (Ref a)
Old name for newWithEvent
#readRef Source
readRef :: forall m a. MonadEffect m => Ref a -> m a
Old name for read
#refUpdateConst Source
refUpdateConst :: forall a m. MonadEffect m => Ref a -> a -> m Unit
Old name for write
.
- Modules
- Control.
Monad. Cleanup - Control.
Monad. Replace - Specular.
Debug - Specular.
Dom. Browser - Specular.
Dom. Builder - Specular.
Dom. Builder. Class - Specular.
Dom. Element - Specular.
Dom. Element. Class - Specular.
Dom. Node. Class - Specular.
Dom. Widget - Specular.
Dom. Widgets. Button - Specular.
Dom. Widgets. Input - Specular.
Dom. Widgets. RadioGroup - Specular.
Dom. Widgets. Select - Specular.
FRP - Specular.
FRP. Async - Specular.
FRP. Base - Specular.
FRP. Fix - Specular.
FRP. List - Specular.
FRP. Replaceable - Specular.
FRP. WeakDynamic - Specular.
Internal. Effect - Specular.
Internal. Incremental - Specular.
Internal. Incremental. Array - Specular.
Internal. Incremental. Effect - Specular.
Internal. Incremental. Global - Specular.
Internal. Incremental. Mutable - Specular.
Internal. Incremental. MutableArray - Specular.
Internal. Incremental. Node - Specular.
Internal. Incremental. Optional - Specular.
Internal. Incremental. PriorityQueue - Specular.
Internal. Incremental. Ref - Specular.
Internal. Profiling - Specular.
Internal. Queue - Specular.
Internal. RIO - Specular.
Profiling - Specular.
Ref