Module
Control.Monad.Cleanup
- Package
- purescript-specular
- Repository
- restaumatic/purescript-specular
#MonadCleanup Source
class MonadCleanup :: (Type -> Type) -> Constraint
class (Monad m) <= MonadCleanup m where
Members
Instances
(MonadEffect m) => MonadCleanup (CleanupT m)
(MonadCleanup m) => MonadCleanup (ReaderT r m)
#CleanupT Source
newtype CleanupT :: forall k. (k -> Type) -> k -> Type
newtype CleanupT m a
Constructors
CleanupT (ReaderT DelayedEffects m a)
Instances
(Functor m) => Functor (CleanupT m)
(Apply m) => Apply (CleanupT m)
(Applicative m) => Applicative (CleanupT m)
(Bind m) => Bind (CleanupT m)
(Monad m) => Monad (CleanupT m)
(MonadEffect m) => MonadEffect (CleanupT m)
MonadTrans CleanupT
(MonadEffect m) => MonadCleanup (CleanupT m)
#runCleanupT Source
runCleanupT :: forall m a. MonadEffect m => CleanupT m a -> m (Tuple a (Effect Unit))
#execCleanupT Source
execCleanupT :: forall m. MonadEffect m => CleanupT m Unit -> m (Effect Unit)
- 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
Add a cleanup action.