| Safe Haskell | None |
|---|---|
| Language | GHC2021 |
Control.Monad.Ology.General.Function
Contents
Synopsis
- type TransKind = (Type -> Type) -> Type -> Type
- type Raised (p :: k -> Type) (q :: k -> Type) = forall (a :: k). p a -> q a
- type (-->) (p :: k -> Type) (q :: k -> Type) = Raised p q
- newtype WRaised (p :: k -> Type) (q :: k -> Type) = MkWRaised {}
- wLift :: forall (t :: (Type -> Type) -> Type -> Type) (m :: Type -> Type). (MonadTrans t, Monad m) => WRaised m (t m)
- wLiftIO :: forall (m :: Type -> Type). MonadIO m => WRaised IO m
- type Backraised (ma :: k -> Type) (mb :: k -> Type) = forall (r :: k). ((mb --> ma) -> ma r) -> mb r
- type (-/->) (ma :: k -> Type) (mb :: k -> Type) = Backraised ma mb
- backraisedToRaised :: forall {k} (ma :: k -> Type) (mb :: k -> Type). (ma -/-> mb) -> ma --> mb
- newtype WBackraised (p :: k -> Type) (q :: k -> Type) = MkWBackraised {
- unWBackraised :: p -/-> q
- wBackraisedToWRaised :: forall {k} (ma :: k -> Type) (mb :: k -> Type). WBackraised ma mb -> WRaised ma mb
- type Unlift (c :: (Type -> Type) -> Constraint) (t :: TransKind) = forall (m :: Type -> Type). c m => t m --> m
- newtype WUnlift (c :: (Type -> Type) -> Constraint) (t :: TransKind) = MkWUnlift {}
- wUnliftToWRaised :: forall (c :: (Type -> Type) -> Constraint) (m :: Type -> Type) (t :: TransKind). c m => WUnlift c t -> WRaised (t m) m
- type Extract (m :: Type -> Type) = forall a. m a -> a
- newtype WExtract (m :: Type -> Type) = MkWExtract {
- unWExtract :: Extract m
Documentation
Raised
wLift :: forall (t :: (Type -> Type) -> Type -> Type) (m :: Type -> Type). (MonadTrans t, Monad m) => WRaised m (t m) Source #
Backraised
type Backraised (ma :: k -> Type) (mb :: k -> Type) = forall (r :: k). ((mb --> ma) -> ma r) -> mb r Source #
backraisedToRaised :: forall {k} (ma :: k -> Type) (mb :: k -> Type). (ma -/-> mb) -> ma --> mb Source #
newtype WBackraised (p :: k -> Type) (q :: k -> Type) Source #
Constructors
| MkWBackraised | |
Fields
| |
Instances
| Category (WBackraised :: (k -> Type) -> (k -> Type) -> Type) Source # | |
Defined in Control.Monad.Ology.General.Function Methods id :: forall (a :: k -> Type). WBackraised a a # (.) :: forall (b :: k -> Type) (c :: k -> Type) (a :: k -> Type). WBackraised b c -> WBackraised a b -> WBackraised a c # | |
wBackraisedToWRaised :: forall {k} (ma :: k -> Type) (mb :: k -> Type). WBackraised ma mb -> WRaised ma mb Source #
Unlift
type Unlift (c :: (Type -> Type) -> Constraint) (t :: TransKind) = forall (m :: Type -> Type). c m => t m --> m Source #
wUnliftToWRaised :: forall (c :: (Type -> Type) -> Constraint) (m :: Type -> Type) (t :: TransKind). c m => WUnlift c t -> WRaised (t m) m Source #
Extract
newtype WExtract (m :: Type -> Type) Source #
Constructors
| MkWExtract | |
Fields
| |