| Copyright | (c) Matt Hunzinger 2026 |
|---|---|
| License | BSD-style (see the LICENSE file in the distribution) |
| Maintainer | matt@hunzinger.me |
| Stability | provisional |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | None |
| Language | Haskell2010 |
Concoct.View.Unmount
Description
Documentation
newtype Unmount (m :: Type -> Type) a Source #
Instances
| MonadIO m => MonadView m (Unmount m) Source # | |
Defined in Concoct.View.Unmount Methods useState :: Typeable a => m a -> Unmount m (StateRef a) Source # useRef :: Typeable a => m a -> Unmount m (ViewRef a) Source # useEffect :: (Eq d, Typeable d) => m d -> (d -> m ()) -> Unmount m () Source # useOnUnmount :: m () -> Unmount m () Source # component :: (forall (x :: Type -> Type). MonadView m x => x ()) -> Unmount m () Source # liftView :: m () -> Unmount m () Source # switchView :: m Bool -> (forall (x :: Type -> Type). MonadView m x => x ()) -> (forall (x :: Type -> Type). MonadView m x => x ()) -> Unmount m () Source # listView :: (Typeable a, Eq a) => m [a] -> (a -> forall (x :: Type -> Type). MonadView m x => x ()) -> Unmount m () Source # | |
| Monad m => Applicative (Unmount m) Source # | |
| Functor m => Functor (Unmount m) Source # | |
| Monad m => Monad (Unmount m) Source # | |