Copyright | (C) 2018 Ryan Scott |
---|---|
License | BSD-style (see LICENSE) |
Maintainer | Ryan Scott |
Stability | experimental |
Portability | non-portable |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Defines the promoted and singled versions of the Applicative
type class.
Synopsis
- class PApplicative f where
- class SFunctor f => SApplicative f where
- sPure :: forall a (t :: a). Sing t -> Sing (Apply PureSym0 t :: f a)
- (%<*>) :: forall a b (t :: f ((~>) a b)) (t :: f a). Sing t -> Sing t -> Sing (Apply (Apply (<*>@#@$) t) t :: f b)
- sLiftA2 :: forall a b c (t :: (~>) a ((~>) b c)) (t :: f a) (t :: f b). Sing t -> Sing t -> Sing t -> Sing (Apply (Apply (Apply LiftA2Sym0 t) t) t :: f c)
- (%*>) :: forall a b (t :: f a) (t :: f b). Sing t -> Sing t -> Sing (Apply (Apply (*>@#@$) t) t :: f b)
- (%<*) :: forall a b (t :: f a) (t :: f b). Sing t -> Sing t -> Sing (Apply (Apply (<*@#@$) t) t :: f a)
- class PAlternative f where
- class SApplicative f => SAlternative f where
- type family Sing :: k -> Type
- data SConst :: Const a b -> Type where
- data Const a (b :: k)
- type family GetConst (a :: Const a b) :: a where ...
- sGetConst :: forall a b (t :: Const a b). Sing t -> Sing (Apply GetConstSym0 t :: a)
- type family (a :: (~>) a b) <$> (a :: f a) :: f b where ...
- (%<$>) :: forall a b f (t :: (~>) a b) (t :: f a). SFunctor f => Sing t -> Sing t -> Sing (Apply (Apply (<$>@#@$) t) t :: f b)
- type family (arg :: a) <$ (arg :: f b) :: f a
- (%<$) :: forall a b (t :: a) (t :: f b). SFunctor f => Sing t -> Sing t -> Sing (Apply (Apply (<$@#@$) t) t :: f a)
- type family (a :: f a) <**> (a :: f ((~>) a b)) :: f b where ...
- (%<**>) :: forall f a b (t :: f a) (t :: f ((~>) a b)). SApplicative f => Sing t -> Sing t -> Sing (Apply (Apply (<**>@#@$) t) t :: f b)
- type family LiftA (a :: (~>) a b) (a :: f a) :: f b where ...
- sLiftA :: forall a b f (t :: (~>) a b) (t :: f a). SApplicative f => Sing t -> Sing t -> Sing (Apply (Apply LiftASym0 t) t :: f b)
- type family LiftA3 (a :: (~>) a ((~>) b ((~>) c d))) (a :: f a) (a :: f b) (a :: f c) :: f d where ...
- sLiftA3 :: forall a b c d f (t :: (~>) a ((~>) b ((~>) c d))) (t :: f a) (t :: f b) (t :: f c). SApplicative f => Sing t -> Sing t -> Sing t -> Sing t -> Sing (Apply (Apply (Apply (Apply LiftA3Sym0 t) t) t) t :: f d)
- type family Optional (a :: f a) :: f (Maybe a) where ...
- sOptional :: forall f a (t :: f a). SAlternative f => Sing t -> Sing (Apply OptionalSym0 t :: f (Maybe a))
- data PureSym0 :: (~>) a (f a)
- type family PureSym1 (a6989586621679337039 :: a) :: f a where ...
- data (<*>@#@$) :: (~>) (f ((~>) a b)) ((~>) (f a) (f b))
- data (<*>@#@$$) (a6989586621679337043 :: f ((~>) a b)) :: (~>) (f a) (f b)
- type family (a6989586621679337043 :: f ((~>) a b)) <*>@#@$$$ (a6989586621679337044 :: f a) :: f b where ...
- data (*>@#@$) :: (~>) (f a) ((~>) (f b) (f b))
- data (*>@#@$$) (a6989586621679337055 :: f a) :: (~>) (f b) (f b)
- type family (a6989586621679337055 :: f a) *>@#@$$$ (a6989586621679337056 :: f b) :: f b where ...
- data (<*@#@$) :: (~>) (f a) ((~>) (f b) (f a))
- data (<*@#@$$) (a6989586621679337060 :: f a) :: (~>) (f b) (f a)
- type family (a6989586621679337060 :: f a) <*@#@$$$ (a6989586621679337061 :: f b) :: f a where ...
- type family EmptySym0 :: f a where ...
- data (<|>@#@$) :: (~>) (f a) ((~>) (f a) (f a))
- data (<|>@#@$$) (a6989586621679337164 :: f a) :: (~>) (f a) (f a)
- type family (a6989586621679337164 :: f a) <|>@#@$$$ (a6989586621679337165 :: f a) :: f a where ...
- data ConstSym0 z
- type family ConstSym1 x where ...
- data GetConstSym0 :: (~>) (Const a b) a
- type family GetConstSym1 (a6989586621680726290 :: Const a b) :: a where ...
- data (<$>@#@$) :: (~>) ((~>) a b) ((~>) (f a) (f b))
- data (<$>@#@$$) (a6989586621679524018 :: (~>) a b) :: (~>) (f a) (f b)
- type family (a6989586621679524018 :: (~>) a b) <$>@#@$$$ (a6989586621679524019 :: f a) :: f b where ...
- data (<$@#@$) :: (~>) a ((~>) (f b) (f a))
- data (<$@#@$$) (a6989586621679337020 :: a) :: (~>) (f b) (f a)
- type family (a6989586621679337020 :: a) <$@#@$$$ (a6989586621679337021 :: f b) :: f a where ...
- data (<**>@#@$) :: (~>) (f a) ((~>) (f ((~>) a b)) (f b))
- data (<**>@#@$$) (a6989586621679337003 :: f a) :: (~>) (f ((~>) a b)) (f b)
- type family (a6989586621679337003 :: f a) <**>@#@$$$ (a6989586621679337004 :: f ((~>) a b)) :: f b where ...
- data LiftASym0 :: (~>) ((~>) a b) ((~>) (f a) (f b))
- data LiftASym1 (a6989586621679336992 :: (~>) a b) :: (~>) (f a) (f b)
- type family LiftASym2 (a6989586621679336992 :: (~>) a b) (a6989586621679336993 :: f a) :: f b where ...
- data LiftA2Sym0 :: (~>) ((~>) a ((~>) b c)) ((~>) (f a) ((~>) (f b) (f c)))
- data LiftA2Sym1 (a6989586621679337049 :: (~>) a ((~>) b c)) :: (~>) (f a) ((~>) (f b) (f c))
- data LiftA2Sym2 (a6989586621679337049 :: (~>) a ((~>) b c)) (a6989586621679337050 :: f a) :: (~>) (f b) (f c)
- type family LiftA2Sym3 (a6989586621679337049 :: (~>) a ((~>) b c)) (a6989586621679337050 :: f a) (a6989586621679337051 :: f b) :: f c where ...
- data LiftA3Sym0 :: (~>) ((~>) a ((~>) b ((~>) c d))) ((~>) (f a) ((~>) (f b) ((~>) (f c) (f d))))
- data LiftA3Sym1 (a6989586621679336981 :: (~>) a ((~>) b ((~>) c d))) :: (~>) (f a) ((~>) (f b) ((~>) (f c) (f d)))
- data LiftA3Sym2 (a6989586621679336981 :: (~>) a ((~>) b ((~>) c d))) (a6989586621679336982 :: f a) :: (~>) (f b) ((~>) (f c) (f d))
- data LiftA3Sym3 (a6989586621679336981 :: (~>) a ((~>) b ((~>) c d))) (a6989586621679336982 :: f a) (a6989586621679336983 :: f b) :: (~>) (f c) (f d)
- data OptionalSym0 :: (~>) (f a) (f (Maybe a))
- type family OptionalSym1 (a6989586621681295411 :: f a) :: f (Maybe a) where ...
Documentation
class PApplicative f Source #
type Pure (arg :: a) :: f a Source #
type (arg :: f ((~>) a b)) <*> (arg :: f a) :: f b infixl 4 Source #
type a <*> a = Apply (Apply TFHelper_6989586621679337064Sym0 a) a
type LiftA2 (arg :: (~>) a ((~>) b c)) (arg :: f a) (arg :: f b) :: f c Source #
type LiftA2 a a a = Apply (Apply (Apply LiftA2_6989586621679337080Sym0 a) a) a
type (arg :: f a) *> (arg :: f b) :: f b infixl 4 Source #
type a *> a = Apply (Apply TFHelper_6989586621679337096Sym0 a) a
type (arg :: f a) <* (arg :: f b) :: f a infixl 4 Source #
type a <* a = Apply (Apply TFHelper_6989586621679337107Sym0 a) a
Instances
PApplicative Identity Source # | |
PApplicative First Source # | |
PApplicative Last Source # | |
PApplicative Down Source # | |
PApplicative First Source # | |
PApplicative Last Source # | |
PApplicative Max Source # | |
PApplicative Min Source # | |
PApplicative Dual Source # | |
PApplicative Product Source # | |
PApplicative Sum Source # | |
PApplicative NonEmpty Source # | |
PApplicative Maybe Source # | |
PApplicative [] Source # | |
PApplicative (Either e) Source # | |
PApplicative (Proxy :: Type -> Type) Source # | |
PApplicative ((,) a) Source # | |
PApplicative (Const m :: Type -> Type) Source # | |
PApplicative (Product f g) Source # | |
PApplicative (Compose f g) Source # | |
class SFunctor f => SApplicative f where Source #
sPure :: forall a (t :: a). Sing t -> Sing (Apply PureSym0 t :: f a) Source #
(%<*>) :: forall a b (t :: f ((~>) a b)) (t :: f a). Sing t -> Sing t -> Sing (Apply (Apply (<*>@#@$) t) t :: f b) infixl 4 Source #
default (%<*>) :: forall a b (t :: f ((~>) a b)) (t :: f a). (Apply (Apply (<*>@#@$) t) t :: f b) ~ Apply (Apply TFHelper_6989586621679337064Sym0 t) t => Sing t -> Sing t -> Sing (Apply (Apply (<*>@#@$) t) t :: f b) Source #
sLiftA2 :: forall a b c (t :: (~>) a ((~>) b c)) (t :: f a) (t :: f b). Sing t -> Sing t -> Sing t -> Sing (Apply (Apply (Apply LiftA2Sym0 t) t) t :: f c) Source #
default sLiftA2 :: forall a b c (t :: (~>) a ((~>) b c)) (t :: f a) (t :: f b). (Apply (Apply (Apply LiftA2Sym0 t) t) t :: f c) ~ Apply (Apply (Apply LiftA2_6989586621679337080Sym0 t) t) t => Sing t -> Sing t -> Sing t -> Sing (Apply (Apply (Apply LiftA2Sym0 t) t) t :: f c) Source #
(%*>) :: forall a b (t :: f a) (t :: f b). Sing t -> Sing t -> Sing (Apply (Apply (*>@#@$) t) t :: f b) infixl 4 Source #
default (%*>) :: forall a b (t :: f a) (t :: f b). (Apply (Apply (*>@#@$) t) t :: f b) ~ Apply (Apply TFHelper_6989586621679337096Sym0 t) t => Sing t -> Sing t -> Sing (Apply (Apply (*>@#@$) t) t :: f b) Source #
(%<*) :: forall a b (t :: f a) (t :: f b). Sing t -> Sing t -> Sing (Apply (Apply (<*@#@$) t) t :: f a) infixl 4 Source #
Instances
SApplicative Identity Source # | |
Defined in Data.Functor.Identity.Singletons sPure :: forall a (t :: a). Sing t -> Sing (Apply PureSym0 t) Source # (%<*>) :: forall a b (t :: Identity (a ~> b)) (t :: Identity a). Sing t -> Sing t -> Sing (Apply (Apply (<*>@#@$) t) t) Source # sLiftA2 :: forall a b c (t :: a ~> (b ~> c)) (t :: Identity a) (t :: Identity b). Sing t -> Sing t -> Sing t -> Sing (Apply (Apply (Apply LiftA2Sym0 t) t) t) Source # (%*>) :: forall a b (t :: Identity a) (t :: Identity b). Sing t -> Sing t -> Sing (Apply (Apply (*>@#@$) t) t) Source # (%<*) :: forall a b (t :: Identity a) (t :: Identity b). Sing t -> Sing t -> Sing (Apply (Apply (<*@#@$) t) t) Source # | |
SApplicative First Source # | |
Defined in Data.Monoid.Singletons sPure :: forall a (t :: a). Sing t -> Sing (Apply PureSym0 t) Source # (%<*>) :: forall a b (t :: First (a ~> b)) (t :: First a). Sing t -> Sing t -> Sing (Apply (Apply (<*>@#@$) t) t) Source # sLiftA2 :: forall a b c (t :: a ~> (b ~> c)) (t :: First a) (t :: First b). Sing t -> Sing t -> Sing t -> Sing (Apply (Apply (Apply LiftA2Sym0 t) t) t) Source # (%*>) :: forall a b (t :: First a) (t :: First b). Sing t -> Sing t -> Sing (Apply (Apply (*>@#@$) t) t) Source # (%<*) :: forall a b (t :: First a) (t :: First b). Sing t -> Sing t -> Sing (Apply (Apply (<*@#@$) t) t) Source # | |
SApplicative Last Source # | |
Defined in Data.Monoid.Singletons sPure :: forall a (t :: a). Sing t -> Sing (Apply PureSym0 t) Source # (%<*>) :: forall a b (t :: Last (a ~> b)) (t :: Last a). Sing t -> Sing t -> Sing (Apply (Apply (<*>@#@$) t) t) Source # sLiftA2 :: forall a b c (t :: a ~> (b ~> c)) (t :: Last a) (t :: Last b). Sing t -> Sing t -> Sing t -> Sing (Apply (Apply (Apply LiftA2Sym0 t) t) t) Source # (%*>) :: forall a b (t :: Last a) (t :: Last b). Sing t -> Sing t -> Sing (Apply (Apply (*>@#@$) t) t) Source # (%<*) :: forall a b (t :: Last a) (t :: Last b). Sing t -> Sing t -> Sing (Apply (Apply (<*@#@$) t) t) Source # | |
SApplicative Down Source # | |
Defined in Control.Applicative.Singletons sPure :: forall a (t :: a). Sing t -> Sing (Apply PureSym0 t) Source # (%<*>) :: forall a b (t :: Down (a ~> b)) (t :: Down a). Sing t -> Sing t -> Sing (Apply (Apply (<*>@#@$) t) t) Source # sLiftA2 :: forall a b c (t :: a ~> (b ~> c)) (t :: Down a) (t :: Down b). Sing t -> Sing t -> Sing t -> Sing (Apply (Apply (Apply LiftA2Sym0 t) t) t) Source # (%*>) :: forall a b (t :: Down a) (t :: Down b). Sing t -> Sing t -> Sing (Apply (Apply (*>@#@$) t) t) Source # (%<*) :: forall a b (t :: Down a) (t :: Down b). Sing t -> Sing t -> Sing (Apply (Apply (<*@#@$) t) t) Source # | |
SApplicative First Source # | |
Defined in Data.Semigroup.Singletons sPure :: forall a (t :: a). Sing t -> Sing (Apply PureSym0 t) Source # (%<*>) :: forall a b (t :: First (a ~> b)) (t :: First a). Sing t -> Sing t -> Sing (Apply (Apply (<*>@#@$) t) t) Source # sLiftA2 :: forall a b c (t :: a ~> (b ~> c)) (t :: First a) (t :: First b). Sing t -> Sing t -> Sing t -> Sing (Apply (Apply (Apply LiftA2Sym0 t) t) t) Source # (%*>) :: forall a b (t :: First a) (t :: First b). Sing t -> Sing t -> Sing (Apply (Apply (*>@#@$) t) t) Source # (%<*) :: forall a b (t :: First a) (t :: First b). Sing t -> Sing t -> Sing (Apply (Apply (<*@#@$) t) t) Source # | |
SApplicative Last Source # | |
Defined in Data.Semigroup.Singletons sPure :: forall a (t :: a). Sing t -> Sing (Apply PureSym0 t) Source # (%<*>) :: forall a b (t :: Last (a ~> b)) (t :: Last a). Sing t -> Sing t -> Sing (Apply (Apply (<*>@#@$) t) t) Source # sLiftA2 :: forall a b c (t :: a ~> (b ~> c)) (t :: Last a) (t :: Last b). Sing t -> Sing t -> Sing t -> Sing (Apply (Apply (Apply LiftA2Sym0 t) t) t) Source # (%*>) :: forall a b (t :: Last a) (t :: Last b). Sing t -> Sing t -> Sing (Apply (Apply (*>@#@$) t) t) Source # (%<*) :: forall a b (t :: Last a) (t :: Last b). Sing t -> Sing t -> Sing (Apply (Apply (<*@#@$) t) t) Source # | |
SApplicative Max Source # | |
Defined in Data.Semigroup.Singletons sPure :: forall a (t :: a). Sing t -> Sing (Apply PureSym0 t) Source # (%<*>) :: forall a b (t :: Max (a ~> b)) (t :: Max a). Sing t -> Sing t -> Sing (Apply (Apply (<*>@#@$) t) t) Source # sLiftA2 :: forall a b c (t :: a ~> (b ~> c)) (t :: Max a) (t :: Max b). Sing t -> Sing t -> Sing t -> Sing (Apply (Apply (Apply LiftA2Sym0 t) t) t) Source # (%*>) :: forall a b (t :: Max a) (t :: Max b). Sing t -> Sing t -> Sing (Apply (Apply (*>@#@$) t) t) Source # (%<*) :: forall a b (t :: Max a) (t :: Max b). Sing t -> Sing t -> Sing (Apply (Apply (<*@#@$) t) t) Source # | |
SApplicative Min Source # | |
Defined in Data.Semigroup.Singletons sPure :: forall a (t :: a). Sing t -> Sing (Apply PureSym0 t) Source # (%<*>) :: forall a b (t :: Min (a ~> b)) (t :: Min a). Sing t -> Sing t -> Sing (Apply (Apply (<*>@#@$) t) t) Source # sLiftA2 :: forall a b c (t :: a ~> (b ~> c)) (t :: Min a) (t :: Min b). Sing t -> Sing t -> Sing t -> Sing (Apply (Apply (Apply LiftA2Sym0 t) t) t) Source # (%*>) :: forall a b (t :: Min a) (t :: Min b). Sing t -> Sing t -> Sing (Apply (Apply (*>@#@$) t) t) Source # (%<*) :: forall a b (t :: Min a) (t :: Min b). Sing t -> Sing t -> Sing (Apply (Apply (<*@#@$) t) t) Source # | |
SApplicative Dual Source # | |
Defined in Data.Semigroup.Singletons.Internal sPure :: forall a (t :: a). Sing t -> Sing (Apply PureSym0 t) Source # (%<*>) :: forall a b (t :: Dual (a ~> b)) (t :: Dual a). Sing t -> Sing t -> Sing (Apply (Apply (<*>@#@$) t) t) Source # sLiftA2 :: forall a b c (t :: a ~> (b ~> c)) (t :: Dual a) (t :: Dual b). Sing t -> Sing t -> Sing t -> Sing (Apply (Apply (Apply LiftA2Sym0 t) t) t) Source # (%*>) :: forall a b (t :: Dual a) (t :: Dual b). Sing t -> Sing t -> Sing (Apply (Apply (*>@#@$) t) t) Source # (%<*) :: forall a b (t :: Dual a) (t :: Dual b). Sing t -> Sing t -> Sing (Apply (Apply (<*@#@$) t) t) Source # | |
SApplicative Product Source # | |
Defined in Data.Semigroup.Singletons.Internal sPure :: forall a (t :: a). Sing t -> Sing (Apply PureSym0 t) Source # (%<*>) :: forall a b (t :: Product (a ~> b)) (t :: Product a). Sing t -> Sing t -> Sing (Apply (Apply (<*>@#@$) t) t) Source # sLiftA2 :: forall a b c (t :: a ~> (b ~> c)) (t :: Product a) (t :: Product b). Sing t -> Sing t -> Sing t -> Sing (Apply (Apply (Apply LiftA2Sym0 t) t) t) Source # (%*>) :: forall a b (t :: Product a) (t :: Product b). Sing t -> Sing t -> Sing (Apply (Apply (*>@#@$) t) t) Source # (%<*) :: forall a b (t :: Product a) (t :: Product b). Sing t -> Sing t -> Sing (Apply (Apply (<*@#@$) t) t) Source # | |
SApplicative Sum Source # | |
Defined in Data.Semigroup.Singletons.Internal sPure :: forall a (t :: a). Sing t -> Sing (Apply PureSym0 t) Source # (%<*>) :: forall a b (t :: Sum (a ~> b)) (t :: Sum a). Sing t -> Sing t -> Sing (Apply (Apply (<*>@#@$) t) t) Source # sLiftA2 :: forall a b c (t :: a ~> (b ~> c)) (t :: Sum a) (t :: Sum b). Sing t -> Sing t -> Sing t -> Sing (Apply (Apply (Apply LiftA2Sym0 t) t) t) Source # (%*>) :: forall a b (t :: Sum a) (t :: Sum b). Sing t -> Sing t -> Sing (Apply (Apply (*>@#@$) t) t) Source # (%<*) :: forall a b (t :: Sum a) (t :: Sum b). Sing t -> Sing t -> Sing (Apply (Apply (<*@#@$) t) t) Source # | |
SApplicative NonEmpty Source # | |
Defined in Control.Monad.Singletons.Internal sPure :: forall a (t :: a). Sing t -> Sing (Apply PureSym0 t) Source # (%<*>) :: forall a b (t :: NonEmpty (a ~> b)) (t :: NonEmpty a). Sing t -> Sing t -> Sing (Apply (Apply (<*>@#@$) t) t) Source # sLiftA2 :: forall a b c (t :: a ~> (b ~> c)) (t :: NonEmpty a) (t :: NonEmpty b). Sing t -> Sing t -> Sing t -> Sing (Apply (Apply (Apply LiftA2Sym0 t) t) t) Source # (%*>) :: forall a b (t :: NonEmpty a) (t :: NonEmpty b). Sing t -> Sing t -> Sing (Apply (Apply (*>@#@$) t) t) Source # (%<*) :: forall a b (t :: NonEmpty a) (t :: NonEmpty b). Sing t -> Sing t -> Sing (Apply (Apply (<*@#@$) t) t) Source # | |
SApplicative Maybe Source # | |
Defined in Control.Monad.Singletons.Internal sPure :: forall a (t :: a). Sing t -> Sing (Apply PureSym0 t) Source # (%<*>) :: forall a b (t :: Maybe (a ~> b)) (t :: Maybe a). Sing t -> Sing t -> Sing (Apply (Apply (<*>@#@$) t) t) Source # sLiftA2 :: forall a b c (t :: a ~> (b ~> c)) (t :: Maybe a) (t :: Maybe b). Sing t -> Sing t -> Sing t -> Sing (Apply (Apply (Apply LiftA2Sym0 t) t) t) Source # (%*>) :: forall a b (t :: Maybe a) (t :: Maybe b). Sing t -> Sing t -> Sing (Apply (Apply (*>@#@$) t) t) Source # (%<*) :: forall a b (t :: Maybe a) (t :: Maybe b). Sing t -> Sing t -> Sing (Apply (Apply (<*@#@$) t) t) Source # | |
SApplicative [] Source # | |
Defined in Control.Monad.Singletons.Internal sPure :: forall a (t :: a). Sing t -> Sing (Apply PureSym0 t) Source # (%<*>) :: forall a b (t :: [a ~> b]) (t :: [a]). Sing t -> Sing t -> Sing (Apply (Apply (<*>@#@$) t) t) Source # sLiftA2 :: forall a b c (t :: a ~> (b ~> c)) (t :: [a]) (t :: [b]). Sing t -> Sing t -> Sing t -> Sing (Apply (Apply (Apply LiftA2Sym0 t) t) t) Source # (%*>) :: forall a b (t :: [a]) (t :: [b]). Sing t -> Sing t -> Sing (Apply (Apply (*>@#@$) t) t) Source # (%<*) :: forall a b (t :: [a]) (t :: [b]). Sing t -> Sing t -> Sing (Apply (Apply (<*@#@$) t) t) Source # | |
SApplicative (Either e) Source # | |
Defined in Control.Monad.Singletons.Internal sPure :: forall a (t :: a). Sing t -> Sing (Apply PureSym0 t) Source # (%<*>) :: forall a b (t :: Either e (a ~> b)) (t :: Either e a). Sing t -> Sing t -> Sing (Apply (Apply (<*>@#@$) t) t) Source # sLiftA2 :: forall a b c (t :: a ~> (b ~> c)) (t :: Either e a) (t :: Either e b). Sing t -> Sing t -> Sing t -> Sing (Apply (Apply (Apply LiftA2Sym0 t) t) t) Source # (%*>) :: forall a b (t :: Either e a) (t :: Either e b). Sing t -> Sing t -> Sing (Apply (Apply (*>@#@$) t) t) Source # (%<*) :: forall a b (t :: Either e a) (t :: Either e b). Sing t -> Sing t -> Sing (Apply (Apply (<*@#@$) t) t) Source # | |
SApplicative (Proxy :: Type -> Type) Source # | |
Defined in Data.Proxy.Singletons sPure :: forall a (t :: a). Sing t -> Sing (Apply PureSym0 t) Source # (%<*>) :: forall a b (t :: Proxy (a ~> b)) (t :: Proxy a). Sing t -> Sing t -> Sing (Apply (Apply (<*>@#@$) t) t) Source # sLiftA2 :: forall a b c (t :: a ~> (b ~> c)) (t :: Proxy a) (t :: Proxy b). Sing t -> Sing t -> Sing t -> Sing (Apply (Apply (Apply LiftA2Sym0 t) t) t) Source # (%*>) :: forall a b (t :: Proxy a) (t :: Proxy b). Sing t -> Sing t -> Sing (Apply (Apply (*>@#@$) t) t) Source # (%<*) :: forall a b (t :: Proxy a) (t :: Proxy b). Sing t -> Sing t -> Sing (Apply (Apply (<*@#@$) t) t) Source # | |
SMonoid a => SApplicative ((,) a) Source # | |
Defined in Control.Applicative.Singletons sPure :: forall a0 (t :: a0). Sing t -> Sing (Apply PureSym0 t) Source # (%<*>) :: forall a0 b (t :: (a, a0 ~> b)) (t :: (a, a0)). Sing t -> Sing t -> Sing (Apply (Apply (<*>@#@$) t) t) Source # sLiftA2 :: forall a0 b c (t :: a0 ~> (b ~> c)) (t :: (a, a0)) (t :: (a, b)). Sing t -> Sing t -> Sing t -> Sing (Apply (Apply (Apply LiftA2Sym0 t) t) t) Source # (%*>) :: forall a0 b (t :: (a, a0)) (t :: (a, b)). Sing t -> Sing t -> Sing (Apply (Apply (*>@#@$) t) t) Source # (%<*) :: forall a0 b (t :: (a, a0)) (t :: (a, b)). Sing t -> Sing t -> Sing (Apply (Apply (<*@#@$) t) t) Source # | |
SMonoid m => SApplicative (Const m :: Type -> Type) Source # | |
Defined in Data.Functor.Const.Singletons sPure :: forall a (t :: a). Sing t -> Sing (Apply PureSym0 t) Source # (%<*>) :: forall a b (t :: Const m (a ~> b)) (t :: Const m a). Sing t -> Sing t -> Sing (Apply (Apply (<*>@#@$) t) t) Source # sLiftA2 :: forall a b c (t :: a ~> (b ~> c)) (t :: Const m a) (t :: Const m b). Sing t -> Sing t -> Sing t -> Sing (Apply (Apply (Apply LiftA2Sym0 t) t) t) Source # (%*>) :: forall a b (t :: Const m a) (t :: Const m b). Sing t -> Sing t -> Sing (Apply (Apply (*>@#@$) t) t) Source # (%<*) :: forall a b (t :: Const m a) (t :: Const m b). Sing t -> Sing t -> Sing (Apply (Apply (<*@#@$) t) t) Source # | |
(SApplicative f, SApplicative g) => SApplicative (Product f g) Source # | |
Defined in Data.Functor.Product.Singletons sPure :: forall a (t :: a). Sing t -> Sing (Apply PureSym0 t) Source # (%<*>) :: forall a b (t :: Product f g (a ~> b)) (t :: Product f g a). Sing t -> Sing t -> Sing (Apply (Apply (<*>@#@$) t) t) Source # sLiftA2 :: forall a b c (t :: a ~> (b ~> c)) (t :: Product f g a) (t :: Product f g b). Sing t -> Sing t -> Sing t -> Sing (Apply (Apply (Apply LiftA2Sym0 t) t) t) Source # (%*>) :: forall a b (t :: Product f g a) (t :: Product f g b). Sing t -> Sing t -> Sing (Apply (Apply (*>@#@$) t) t) Source # (%<*) :: forall a b (t :: Product f g a) (t :: Product f g b). Sing t -> Sing t -> Sing (Apply (Apply (<*@#@$) t) t) Source # | |
(SApplicative f, SApplicative g) => SApplicative (Compose f g) Source # | |
Defined in Data.Functor.Compose.Singletons sPure :: forall a (t :: a). Sing t -> Sing (Apply PureSym0 t) Source # (%<*>) :: forall a b (t :: Compose f g (a ~> b)) (t :: Compose f g a). Sing t -> Sing t -> Sing (Apply (Apply (<*>@#@$) t) t) Source # sLiftA2 :: forall a b c (t :: a ~> (b ~> c)) (t :: Compose f g a) (t :: Compose f g b). Sing t -> Sing t -> Sing t -> Sing (Apply (Apply (Apply LiftA2Sym0 t) t) t) Source # (%*>) :: forall a b (t :: Compose f g a) (t :: Compose f g b). Sing t -> Sing t -> Sing (Apply (Apply (*>@#@$) t) t) Source # (%<*) :: forall a b (t :: Compose f g a) (t :: Compose f g b). Sing t -> Sing t -> Sing (Apply (Apply (<*@#@$) t) t) Source # |
class PAlternative f Source #
Instances
PAlternative Maybe Source # | |
PAlternative [] Source # | |
PAlternative (Proxy :: k -> Type) Source # | |
PAlternative (Product f g :: k -> Type) Source # | |
PAlternative (Compose f g :: k2 -> Type) Source # | |
class SApplicative f => SAlternative f where Source #
sEmpty :: forall a. Sing (EmptySym0 :: f a) Source #
(%<|>) :: forall a (t :: f a) (t :: f a). Sing t -> Sing t -> Sing (Apply (Apply (<|>@#@$) t) t :: f a) infixl 3 Source #
Instances
SAlternative Maybe Source # | |
SAlternative [] Source # | |
SAlternative (Proxy :: Type -> Type) Source # | |
(SAlternative f, SAlternative g) => SAlternative (Product f g) Source # | |
(SAlternative f, SApplicative g) => SAlternative (Compose f g) Source # | |
type family Sing :: k -> Type #
Instances
data SConst :: Const a b -> Type where Source #
Instances
SDecide a => TestCoercion (SConst :: Const a b -> Type) Source # | |
Defined in Data.Functor.Const.Singletons | |
SDecide a => TestEquality (SConst :: Const a b -> Type) Source # | |
Defined in Data.Functor.Const.Singletons |
The Const
functor.
Instances
Generic1 (Const a :: k -> Type) | |
Unbox a => Vector Vector (Const a b) | |
Defined in Data.Vector.Unboxed.Base basicUnsafeFreeze :: PrimMonad m => Mutable Vector (PrimState m) (Const a b) -> m (Vector (Const a b)) # basicUnsafeThaw :: PrimMonad m => Vector (Const a b) -> m (Mutable Vector (PrimState m) (Const a b)) # basicLength :: Vector (Const a b) -> Int # basicUnsafeSlice :: Int -> Int -> Vector (Const a b) -> Vector (Const a b) # basicUnsafeIndexM :: Monad m => Vector (Const a b) -> Int -> m (Const a b) # basicUnsafeCopy :: PrimMonad m => Mutable Vector (PrimState m) (Const a b) -> Vector (Const a b) -> m () # | |
Unbox a => MVector MVector (Const a b) | |
Defined in Data.Vector.Unboxed.Base basicLength :: MVector s (Const a b) -> Int # basicUnsafeSlice :: Int -> Int -> MVector s (Const a b) -> MVector s (Const a b) # basicOverlaps :: MVector s (Const a b) -> MVector s (Const a b) -> Bool # basicUnsafeNew :: PrimMonad m => Int -> m (MVector (PrimState m) (Const a b)) # basicInitialize :: PrimMonad m => MVector (PrimState m) (Const a b) -> m () # basicUnsafeReplicate :: PrimMonad m => Int -> Const a b -> m (MVector (PrimState m) (Const a b)) # basicUnsafeRead :: PrimMonad m => MVector (PrimState m) (Const a b) -> Int -> m (Const a b) # basicUnsafeWrite :: PrimMonad m => MVector (PrimState m) (Const a b) -> Int -> Const a b -> m () # basicClear :: PrimMonad m => MVector (PrimState m) (Const a b) -> m () # basicSet :: PrimMonad m => MVector (PrimState m) (Const a b) -> Const a b -> m () # basicUnsafeCopy :: PrimMonad m => MVector (PrimState m) (Const a b) -> MVector (PrimState m) (Const a b) -> m () # basicUnsafeMove :: PrimMonad m => MVector (PrimState m) (Const a b) -> MVector (PrimState m) (Const a b) -> m () # basicUnsafeGrow :: PrimMonad m => MVector (PrimState m) (Const a b) -> Int -> m (MVector (PrimState m) (Const a b)) # | |
SingI1 ('Const :: k1 -> Const k1 b) | |
Defined in Data.Functor.Const.Singletons | |
Eq2 (Const :: Type -> Type -> Type) | Since: base-4.9.0.0 |
Ord2 (Const :: Type -> Type -> Type) | Since: base-4.9.0.0 |
Defined in Data.Functor.Classes | |
Read2 (Const :: Type -> Type -> Type) | Since: base-4.9.0.0 |
Defined in Data.Functor.Classes liftReadsPrec2 :: (Int -> ReadS a) -> ReadS [a] -> (Int -> ReadS b) -> ReadS [b] -> Int -> ReadS (Const a b) # liftReadList2 :: (Int -> ReadS a) -> ReadS [a] -> (Int -> ReadS b) -> ReadS [b] -> ReadS [Const a b] # liftReadPrec2 :: ReadPrec a -> ReadPrec [a] -> ReadPrec b -> ReadPrec [b] -> ReadPrec (Const a b) # liftReadListPrec2 :: ReadPrec a -> ReadPrec [a] -> ReadPrec b -> ReadPrec [b] -> ReadPrec [Const a b] # | |
Show2 (Const :: Type -> TYPE LiftedRep -> Type) | Since: base-4.9.0.0 |
Foldable (Const m :: TYPE LiftedRep -> Type) | Since: base-4.7.0.0 |
Defined in Data.Functor.Const fold :: Monoid m0 => Const m m0 -> m0 # foldMap :: Monoid m0 => (a -> m0) -> Const m a -> m0 # foldMap' :: Monoid m0 => (a -> m0) -> Const m a -> m0 # foldr :: (a -> b -> b) -> b -> Const m a -> b # foldr' :: (a -> b -> b) -> b -> Const m a -> b # foldl :: (b -> a -> b) -> b -> Const m a -> b # foldl' :: (b -> a -> b) -> b -> Const m a -> b # foldr1 :: (a -> a -> a) -> Const m a -> a # foldl1 :: (a -> a -> a) -> Const m a -> a # elem :: Eq a => a -> Const m a -> Bool # maximum :: Ord a => Const m a -> a # minimum :: Ord a => Const m a -> a # | |
Eq a => Eq1 (Const a :: Type -> Type) | Since: base-4.9.0.0 |
Ord a => Ord1 (Const a :: Type -> Type) | Since: base-4.9.0.0 |
Defined in Data.Functor.Classes | |
Read a => Read1 (Const a :: Type -> Type) | Since: base-4.9.0.0 |
Defined in Data.Functor.Classes | |
Show a => Show1 (Const a :: TYPE LiftedRep -> Type) | Since: base-4.9.0.0 |
Traversable (Const m :: Type -> Type) | Since: base-4.7.0.0 |
Monoid m => Applicative (Const m :: Type -> Type) | Since: base-2.0.1 |
Functor (Const m :: Type -> Type) | Since: base-2.1 |
PApplicative (Const m :: Type -> Type) Source # | |
PFunctor (Const m :: Type -> Type) Source # | |
SMonoid m => SApplicative (Const m :: Type -> Type) Source # | |
Defined in Data.Functor.Const.Singletons sPure :: forall a (t :: a). Sing t -> Sing (Apply PureSym0 t) Source # (%<*>) :: forall a b (t :: Const m (a ~> b)) (t :: Const m a). Sing t -> Sing t -> Sing (Apply (Apply (<*>@#@$) t) t) Source # sLiftA2 :: forall a b c (t :: a ~> (b ~> c)) (t :: Const m a) (t :: Const m b). Sing t -> Sing t -> Sing t -> Sing (Apply (Apply (Apply LiftA2Sym0 t) t) t) Source # (%*>) :: forall a b (t :: Const m a) (t :: Const m b). Sing t -> Sing t -> Sing (Apply (Apply (*>@#@$) t) t) Source # (%<*) :: forall a b (t :: Const m a) (t :: Const m b). Sing t -> Sing t -> Sing (Apply (Apply (<*@#@$) t) t) Source # | |
SFunctor (Const m :: Type -> Type) Source # | |
PFoldable (Const m :: Type -> Type) Source # | |
Defined in Data.Functor.Const.Singletons type FoldMap arg arg :: m Source # type Foldr arg arg arg :: b Source # type Foldr' arg arg arg :: b Source # type Foldl arg arg arg :: b Source # type Foldl' arg arg arg :: b Source # type Foldr1 arg arg :: a Source # type Foldl1 arg arg :: a Source # type ToList arg :: [a] Source # type Null arg :: Bool Source # type Length arg :: Natural Source # type Elem arg arg :: Bool Source # type Maximum arg :: a Source # | |
SFoldable (Const m :: Type -> Type) Source # | |
Defined in Data.Functor.Const.Singletons sFold :: forall m0 (t :: Const m m0). SMonoid m0 => Sing t -> Sing (Apply FoldSym0 t) Source # sFoldMap :: forall a m0 (t :: a ~> m0) (t :: Const m a). SMonoid m0 => Sing t -> Sing t -> Sing (Apply (Apply FoldMapSym0 t) t) Source # sFoldr :: forall a b (t :: a ~> (b ~> b)) (t :: b) (t :: Const m a). Sing t -> Sing t -> Sing t -> Sing (Apply (Apply (Apply FoldrSym0 t) t) t) Source # sFoldr' :: forall a b (t :: a ~> (b ~> b)) (t :: b) (t :: Const m a). Sing t -> Sing t -> Sing t -> Sing (Apply (Apply (Apply Foldr'Sym0 t) t) t) Source # sFoldl :: forall b a (t :: b ~> (a ~> b)) (t :: b) (t :: Const m a). Sing t -> Sing t -> Sing t -> Sing (Apply (Apply (Apply FoldlSym0 t) t) t) Source # sFoldl' :: forall b a (t :: b ~> (a ~> b)) (t :: b) (t :: Const m a). Sing t -> Sing t -> Sing t -> Sing (Apply (Apply (Apply Foldl'Sym0 t) t) t) Source # sFoldr1 :: forall a (t :: a ~> (a ~> a)) (t :: Const m a). Sing t -> Sing t -> Sing (Apply (Apply Foldr1Sym0 t) t) Source # sFoldl1 :: forall a (t :: a ~> (a ~> a)) (t :: Const m a). Sing t -> Sing t -> Sing (Apply (Apply Foldl1Sym0 t) t) Source # sToList :: forall a (t :: Const m a). Sing t -> Sing (Apply ToListSym0 t) Source # sNull :: forall a (t :: Const m a). Sing t -> Sing (Apply NullSym0 t) Source # sLength :: forall a (t :: Const m a). Sing t -> Sing (Apply LengthSym0 t) Source # sElem :: forall a (t :: a) (t :: Const m a). SEq a => Sing t -> Sing t -> Sing (Apply (Apply ElemSym0 t) t) Source # sMaximum :: forall a (t :: Const m a). SOrd a => Sing t -> Sing (Apply MaximumSym0 t) Source # sMinimum :: forall a (t :: Const m a). SOrd a => Sing t -> Sing (Apply MinimumSym0 t) Source # sSum :: forall a (t :: Const m a). SNum a => Sing t -> Sing (Apply SumSym0 t) Source # sProduct :: forall a (t :: Const m a). SNum a => Sing t -> Sing (Apply ProductSym0 t) Source # | |
PTraversable (Const m :: Type -> Type) Source # | |
STraversable (Const m :: Type -> Type) Source # | |
Defined in Data.Traversable.Singletons sTraverse :: forall a (f :: Type -> Type) b (t :: a ~> f b) (t :: Const m a). SApplicative f => Sing t -> Sing t -> Sing (Apply (Apply TraverseSym0 t) t) Source # sSequenceA :: forall (f :: Type -> Type) a (t :: Const m (f a)). SApplicative f => Sing t -> Sing (Apply SequenceASym0 t) Source # sMapM :: forall a (m0 :: Type -> Type) b (t :: a ~> m0 b) (t :: Const m a). SMonad m0 => Sing t -> Sing t -> Sing (Apply (Apply MapMSym0 t) t) Source # sSequence :: forall (m0 :: Type -> Type) a (t :: Const m (m0 a)). SMonad m0 => Sing t -> Sing (Apply SequenceSym0 t) Source # | |
SingI (GetConstSym0 :: TyFun (Const a b) a -> Type) | |
Defined in Data.Functor.Const.Singletons sing :: Sing GetConstSym0 | |
SingI (ConstSym0 :: TyFun a (Const a b) -> Type) | |
Defined in Data.Functor.Const.Singletons | |
SuppressUnusedWarnings (GetConstSym0 :: TyFun (Const a b) a -> Type) Source # | |
Defined in Data.Functor.Const.Singletons suppressUnusedWarnings :: () # | |
IsString a => IsString (Const a b) | Since: base-4.9.0.0 |
Defined in Data.String fromString :: String -> Const a b # | |
Storable a => Storable (Const a b) | Since: base-4.9.0.0 |
Defined in Data.Functor.Const | |
Monoid a => Monoid (Const a b) | Since: base-4.9.0.0 |
Semigroup a => Semigroup (Const a b) | Since: base-4.9.0.0 |
Bits a => Bits (Const a b) | Since: base-4.9.0.0 |
Defined in Data.Functor.Const (.&.) :: Const a b -> Const a b -> Const a b # (.|.) :: Const a b -> Const a b -> Const a b # xor :: Const a b -> Const a b -> Const a b # complement :: Const a b -> Const a b # shift :: Const a b -> Int -> Const a b # rotate :: Const a b -> Int -> Const a b # setBit :: Const a b -> Int -> Const a b # clearBit :: Const a b -> Int -> Const a b # complementBit :: Const a b -> Int -> Const a b # testBit :: Const a b -> Int -> Bool # bitSizeMaybe :: Const a b -> Maybe Int # isSigned :: Const a b -> Bool # shiftL :: Const a b -> Int -> Const a b # unsafeShiftL :: Const a b -> Int -> Const a b # shiftR :: Const a b -> Int -> Const a b # unsafeShiftR :: Const a b -> Int -> Const a b # rotateL :: Const a b -> Int -> Const a b # | |
FiniteBits a => FiniteBits (Const a b) | Since: base-4.9.0.0 |
Defined in Data.Functor.Const finiteBitSize :: Const a b -> Int # countLeadingZeros :: Const a b -> Int # countTrailingZeros :: Const a b -> Int # | |
Bounded a => Bounded (Const a b) | Since: base-4.9.0.0 |
Enum a => Enum (Const a b) | Since: base-4.9.0.0 |
Defined in Data.Functor.Const succ :: Const a b -> Const a b # pred :: Const a b -> Const a b # fromEnum :: Const a b -> Int # enumFrom :: Const a b -> [Const a b] # enumFromThen :: Const a b -> Const a b -> [Const a b] # enumFromTo :: Const a b -> Const a b -> [Const a b] # enumFromThenTo :: Const a b -> Const a b -> Const a b -> [Const a b] # | |
Floating a => Floating (Const a b) | Since: base-4.9.0.0 |
Defined in Data.Functor.Const exp :: Const a b -> Const a b # log :: Const a b -> Const a b # sqrt :: Const a b -> Const a b # (**) :: Const a b -> Const a b -> Const a b # logBase :: Const a b -> Const a b -> Const a b # sin :: Const a b -> Const a b # cos :: Const a b -> Const a b # tan :: Const a b -> Const a b # asin :: Const a b -> Const a b # acos :: Const a b -> Const a b # atan :: Const a b -> Const a b # sinh :: Const a b -> Const a b # cosh :: Const a b -> Const a b # tanh :: Const a b -> Const a b # asinh :: Const a b -> Const a b # acosh :: Const a b -> Const a b # atanh :: Const a b -> Const a b # log1p :: Const a b -> Const a b # expm1 :: Const a b -> Const a b # | |
RealFloat a => RealFloat (Const a b) | Since: base-4.9.0.0 |
Defined in Data.Functor.Const floatRadix :: Const a b -> Integer # floatDigits :: Const a b -> Int # floatRange :: Const a b -> (Int, Int) # decodeFloat :: Const a b -> (Integer, Int) # encodeFloat :: Integer -> Int -> Const a b # exponent :: Const a b -> Int # significand :: Const a b -> Const a b # scaleFloat :: Int -> Const a b -> Const a b # isInfinite :: Const a b -> Bool # isDenormalized :: Const a b -> Bool # isNegativeZero :: Const a b -> Bool # | |
Generic (Const a b) | |
Ix a => Ix (Const a b) | Since: base-4.9.0.0 |
Defined in Data.Functor.Const range :: (Const a b, Const a b) -> [Const a b] # index :: (Const a b, Const a b) -> Const a b -> Int # unsafeIndex :: (Const a b, Const a b) -> Const a b -> Int # inRange :: (Const a b, Const a b) -> Const a b -> Bool # rangeSize :: (Const a b, Const a b) -> Int # unsafeRangeSize :: (Const a b, Const a b) -> Int # | |
Num a => Num (Const a b) | Since: base-4.9.0.0 |
Read a => Read (Const a b) | This instance would be equivalent to the derived instances of the
Since: base-4.8.0.0 |
Fractional a => Fractional (Const a b) | Since: base-4.9.0.0 |
Integral a => Integral (Const a b) | Since: base-4.9.0.0 |
Defined in Data.Functor.Const | |
Real a => Real (Const a b) | Since: base-4.9.0.0 |
Defined in Data.Functor.Const toRational :: Const a b -> Rational # | |
RealFrac a => RealFrac (Const a b) | Since: base-4.9.0.0 |
Show a => Show (Const a b) | This instance would be equivalent to the derived instances of the
Since: base-4.8.0.0 |
Eq a => Eq (Const a b) | Since: base-4.9.0.0 |
Ord a => Ord (Const a b) | Since: base-4.9.0.0 |
Defined in Data.Functor.Const | |
Prim a => Prim (Const a b) | Since: primitive-0.6.5.0 |
Defined in Data.Primitive.Types sizeOf# :: Const a b -> Int# # alignment# :: Const a b -> Int# # indexByteArray# :: ByteArray# -> Int# -> Const a b # readByteArray# :: MutableByteArray# s -> Int# -> State# s -> (# State# s, Const a b #) # writeByteArray# :: MutableByteArray# s -> Int# -> Const a b -> State# s -> State# s # setByteArray# :: MutableByteArray# s -> Int# -> Int# -> Const a b -> State# s -> State# s # indexOffAddr# :: Addr# -> Int# -> Const a b # readOffAddr# :: Addr# -> Int# -> State# s -> (# State# s, Const a b #) # writeOffAddr# :: Addr# -> Int# -> Const a b -> State# s -> State# s # setOffAddr# :: Addr# -> Int# -> Int# -> Const a b -> State# s -> State# s # | |
SingKind a => SingKind (Const a b) | |
SDecide a => SDecide (Const a b) Source # | |
PEq (Const a b) Source # | |
SEq a => SEq (Const a b) Source # | |
PMonoid (Const a b) Source # | |
SMonoid a => SMonoid (Const a b) Source # | |
POrd (Const a b) Source # | |
SOrd a => SOrd (Const a b) Source # | |
Defined in Data.Functor.Const.Singletons sCompare :: forall (t :: Const a b) (t :: Const a b). Sing t -> Sing t -> Sing (Apply (Apply CompareSym0 t) t) Source # (%<) :: forall (t :: Const a b) (t :: Const a b). Sing t -> Sing t -> Sing (Apply (Apply (<@#@$) t) t) Source # (%<=) :: forall (t :: Const a b) (t :: Const a b). Sing t -> Sing t -> Sing (Apply (Apply (<=@#@$) t) t) Source # (%>) :: forall (t :: Const a b) (t :: Const a b). Sing t -> Sing t -> Sing (Apply (Apply (>@#@$) t) t) Source # (%>=) :: forall (t :: Const a b) (t :: Const a b). Sing t -> Sing t -> Sing (Apply (Apply (>=@#@$) t) t) Source # sMax :: forall (t :: Const a b) (t :: Const a b). Sing t -> Sing t -> Sing (Apply (Apply MaxSym0 t) t) Source # sMin :: forall (t :: Const a b) (t :: Const a b). Sing t -> Sing t -> Sing (Apply (Apply MinSym0 t) t) Source # | |
PSemigroup (Const a b) Source # | |
SSemigroup a => SSemigroup (Const a b) Source # | |
PBounded (Const a b) Source # | |
PEnum (Const a b) Source # | |
SBounded a => SBounded (Const a b) Source # | |
Defined in Data.Functor.Const.Singletons | |
SEnum a => SEnum (Const a b) Source # | |
Defined in Data.Functor.Const.Singletons sSucc :: forall (t :: Const a b). Sing t -> Sing (Apply SuccSym0 t) Source # sPred :: forall (t :: Const a b). Sing t -> Sing (Apply PredSym0 t) Source # sToEnum :: forall (t :: Natural). Sing t -> Sing (Apply ToEnumSym0 t) Source # sFromEnum :: forall (t :: Const a b). Sing t -> Sing (Apply FromEnumSym0 t) Source # sEnumFromTo :: forall (t :: Const a b) (t :: Const a b). Sing t -> Sing t -> Sing (Apply (Apply EnumFromToSym0 t) t) Source # sEnumFromThenTo :: forall (t :: Const a b) (t :: Const a b) (t :: Const a b). Sing t -> Sing t -> Sing t -> Sing (Apply (Apply (Apply EnumFromThenToSym0 t) t) t) Source # | |
PIsString (Const a b) Source # | |
Defined in Data.String.Singletons type FromString arg :: a Source # | |
SIsString a => SIsString (Const a b) Source # | |
Defined in Data.String.Singletons sFromString :: forall (t :: Symbol). Sing t -> Sing (Apply FromStringSym0 t) Source # | |
PNum (Const a b) Source # | |
SNum a => SNum (Const a b) Source # | |
Defined in Data.Functor.Const.Singletons (%+) :: forall (t :: Const a b) (t :: Const a b). Sing t -> Sing t -> Sing (Apply (Apply (+@#@$) t) t) Source # (%-) :: forall (t :: Const a b) (t :: Const a b). Sing t -> Sing t -> Sing (Apply (Apply (-@#@$) t) t) Source # (%*) :: forall (t :: Const a b) (t :: Const a b). Sing t -> Sing t -> Sing (Apply (Apply (*@#@$) t) t) Source # sNegate :: forall (t :: Const a b). Sing t -> Sing (Apply NegateSym0 t) Source # sAbs :: forall (t :: Const a b). Sing t -> Sing (Apply AbsSym0 t) Source # sSignum :: forall (t :: Const a b). Sing t -> Sing (Apply SignumSym0 t) Source # sFromInteger :: forall (t :: Natural). Sing t -> Sing (Apply FromIntegerSym0 t) Source # | |
PShow (Const a b) Source # | |
SShow a => SShow (Const a b) Source # | |
Defined in Data.Functor.Const.Singletons sShowsPrec :: forall (t :: Natural) (t :: Const a b) (t :: Symbol). Sing t -> Sing t -> Sing t -> Sing (Apply (Apply (Apply ShowsPrecSym0 t) t) t) Source # sShow_ :: forall (t :: Const a b). Sing t -> Sing (Apply Show_Sym0 t) Source # sShowList :: forall (t :: [Const a b]) (t :: Symbol). Sing t -> Sing t -> Sing (Apply (Apply ShowListSym0 t) t) Source # | |
Unbox a => Unbox (Const a b) | |
Defined in Data.Vector.Unboxed.Base | |
SDecide a => TestCoercion (SConst :: Const a b -> Type) Source # | |
Defined in Data.Functor.Const.Singletons | |
SDecide a => TestEquality (SConst :: Const a b -> Type) Source # | |
Defined in Data.Functor.Const.Singletons | |
SingI a2 => SingI ('Const a2 :: Const a1 b) | |
Defined in Data.Functor.Const.Singletons | |
type MapM (arg1 :: a ~> m1 b) (arg2 :: Const m2 a) Source # | |
Defined in Data.Traversable.Singletons | |
type Traverse (a2 :: a1 ~> f b) (a3 :: Const m a1) Source # | |
Defined in Data.Traversable.Singletons | |
type LiftA2 (a2 :: a1 ~> (b ~> c)) (a3 :: Const m a1) (a4 :: Const m b) Source # | |
Defined in Data.Functor.Const.Singletons | |
type Fmap (a2 :: a1 ~> b) (a3 :: Const m a1) Source # | |
Defined in Data.Functor.Const.Singletons | |
type FoldMap (a2 :: a1 ~> k2) (a3 :: Const m a1) Source # | |
Defined in Data.Functor.Const.Singletons | |
type Foldl (arg1 :: b ~> (a ~> b)) (arg2 :: b) (arg3 :: Const m a) Source # | |
Defined in Data.Functor.Const.Singletons | |
type Foldl' (arg1 :: b ~> (a ~> b)) (arg2 :: b) (arg3 :: Const m a) Source # | |
Defined in Data.Functor.Const.Singletons | |
type Foldr (a2 :: a1 ~> (k2 ~> k2)) (a3 :: k2) (a4 :: Const m a1) Source # | |
Defined in Data.Functor.Const.Singletons | |
type Foldr' (arg1 :: a ~> (b ~> b)) (arg2 :: b) (arg3 :: Const m a) Source # | |
Defined in Data.Functor.Const.Singletons | |
type Rep1 (Const a :: k -> Type) | Since: base-4.9.0.0 |
Defined in Data.Functor.Const | |
type Pure (a :: k1) Source # | |
Defined in Data.Functor.Const.Singletons type Pure (a :: k1) | |
type Elem (arg1 :: a) (arg2 :: Const m a) Source # | |
Defined in Data.Functor.Const.Singletons | |
type Foldl1 (arg1 :: a ~> (a ~> a)) (arg2 :: Const m a) Source # | |
Defined in Data.Functor.Const.Singletons | |
type Foldr1 (arg1 :: a ~> (a ~> a)) (arg2 :: Const m a) Source # | |
Defined in Data.Functor.Const.Singletons | |
type (a1 :: k1) <$ (a2 :: Const m b) Source # | |
Defined in Data.Functor.Const.Singletons | |
newtype MVector s (Const a b) | |
Defined in Data.Vector.Unboxed.Base | |
type Apply (ConstSym0 :: TyFun a (Const a b) -> Type) (x :: a) | |
type Fold (arg :: Const m1 m2) Source # | |
Defined in Data.Functor.Const.Singletons | |
type Length (arg :: Const m a) Source # | |
Defined in Data.Functor.Const.Singletons | |
type Maximum (arg :: Const m a) Source # | |
Defined in Data.Functor.Const.Singletons | |
type Minimum (arg :: Const m a) Source # | |
Defined in Data.Functor.Const.Singletons | |
type Null (arg :: Const m a) Source # | |
Defined in Data.Functor.Const.Singletons | |
type Product (arg :: Const m a) Source # | |
Defined in Data.Functor.Const.Singletons | |
type Sum (arg :: Const m a) Source # | |
Defined in Data.Functor.Const.Singletons | |
type ToList (arg :: Const m a) Source # | |
Defined in Data.Functor.Const.Singletons | |
type Sequence (arg :: Const m1 (m2 a)) Source # | |
Defined in Data.Traversable.Singletons | |
type SequenceA (arg :: Const m (f a)) Source # | |
Defined in Data.Traversable.Singletons | |
type (arg1 :: Const m a) *> (arg2 :: Const m b) Source # | |
Defined in Data.Functor.Const.Singletons | |
type (arg1 :: Const m a) <* (arg2 :: Const m b) Source # | |
Defined in Data.Functor.Const.Singletons | |
type (a2 :: Const m (a1 ~> b)) <*> (a3 :: Const m a1) Source # | |
Defined in Data.Functor.Const.Singletons | |
type Rep (Const a b) | Since: base-4.9.0.0 |
Defined in Data.Functor.Const | |
type Demote (Const a b) | |
Defined in Data.Functor.Const.Singletons | |
type Sing Source # | |
Defined in Data.Functor.Const.Singletons | |
type Mempty Source # | |
Defined in Data.Functor.Const.Singletons type Mempty | |
type MaxBound Source # | |
Defined in Data.Functor.Const.Singletons type MaxBound | |
type MinBound Source # | |
Defined in Data.Functor.Const.Singletons type MinBound | |
newtype Vector (Const a b) | |
Defined in Data.Vector.Unboxed.Base | |
type Mconcat (arg :: [Const a b]) Source # | |
Defined in Data.Functor.Const.Singletons | |
type Sconcat (arg :: NonEmpty (Const a b)) Source # | |
Defined in Data.Functor.Const.Singletons | |
type FromEnum (a2 :: Const a1 b) Source # | |
Defined in Data.Functor.Const.Singletons | |
type Pred (a2 :: Const a1 b) Source # | |
Defined in Data.Functor.Const.Singletons | |
type Succ (a2 :: Const a1 b) Source # | |
Defined in Data.Functor.Const.Singletons | |
type ToEnum a2 Source # | |
Defined in Data.Functor.Const.Singletons type ToEnum a2 | |
type FromString a2 Source # | |
Defined in Data.String.Singletons type FromString a2 | |
type Abs (a2 :: Const a1 b) Source # | |
Defined in Data.Functor.Const.Singletons | |
type FromInteger a2 Source # | |
Defined in Data.Functor.Const.Singletons type FromInteger a2 | |
type Negate (a2 :: Const a1 b) Source # | |
Defined in Data.Functor.Const.Singletons | |
type Signum (a2 :: Const a1 b) Source # | |
Defined in Data.Functor.Const.Singletons | |
type Show_ (arg :: Const a b) Source # | |
Defined in Data.Functor.Const.Singletons | |
type (arg1 :: Const a b) /= (arg2 :: Const a b) Source # | |
Defined in Data.Functor.Const.Singletons | |
type (a2 :: Const a1 b) == (a3 :: Const a1 b) Source # | |
Defined in Data.Functor.Const.Singletons | |
type Mappend (arg1 :: Const a b) (arg2 :: Const a b) Source # | |
Defined in Data.Functor.Const.Singletons | |
type (arg1 :: Const a b) < (arg2 :: Const a b) Source # | |
Defined in Data.Functor.Const.Singletons | |
type (arg1 :: Const a b) <= (arg2 :: Const a b) Source # | |
Defined in Data.Functor.Const.Singletons | |
type (arg1 :: Const a b) > (arg2 :: Const a b) Source # | |
Defined in Data.Functor.Const.Singletons | |
type (arg1 :: Const a b) >= (arg2 :: Const a b) Source # | |
Defined in Data.Functor.Const.Singletons | |
type Compare (a2 :: Const a1 b) (a3 :: Const a1 b) Source # | |
Defined in Data.Functor.Const.Singletons | |
type Max (arg1 :: Const a b) (arg2 :: Const a b) Source # | |
Defined in Data.Functor.Const.Singletons | |
type Min (arg1 :: Const a b) (arg2 :: Const a b) Source # | |
Defined in Data.Functor.Const.Singletons | |
type (a2 :: Const a1 b) <> (a3 :: Const a1 b) Source # | |
Defined in Data.Functor.Const.Singletons | |
type EnumFromTo (a2 :: Const a1 b) (a3 :: Const a1 b) Source # | |
Defined in Data.Functor.Const.Singletons | |
type (a2 :: Const a1 b) * (a3 :: Const a1 b) Source # | |
Defined in Data.Functor.Const.Singletons | |
type (a2 :: Const a1 b) + (a3 :: Const a1 b) Source # | |
Defined in Data.Functor.Const.Singletons | |
type (a2 :: Const a1 b) - (a3 :: Const a1 b) Source # | |
Defined in Data.Functor.Const.Singletons | |
type ShowList (arg1 :: [Const a b]) arg2 Source # | |
Defined in Data.Functor.Const.Singletons | |
type EnumFromThenTo (a2 :: Const a1 b) (a3 :: Const a1 b) (a4 :: Const a1 b) Source # | |
Defined in Data.Functor.Const.Singletons | |
type ShowsPrec a2 (a3 :: Const a1 b) a4 Source # | |
Defined in Data.Functor.Const.Singletons | |
type Apply (GetConstSym0 :: TyFun (Const a b) a -> Type) (a6989586621680726290 :: Const a b) | |
Defined in Data.Functor.Const.Singletons type Apply (GetConstSym0 :: TyFun (Const a b) a -> Type) (a6989586621680726290 :: Const a b) = GetConst a6989586621680726290 |
(%<$>) :: forall a b f (t :: (~>) a b) (t :: f a). SFunctor f => Sing t -> Sing t -> Sing (Apply (Apply (<$>@#@$) t) t :: f b) infixl 4 Source #
type family (arg :: a) <$ (arg :: f b) :: f a infixl 4 Source #
Instances
type (a1 :: k1) <$ (a2 :: Identity b) Source # | |
Defined in Data.Functor.Identity.Singletons | |
type (a1 :: k1) <$ (a2 :: First b) Source # | |
Defined in Data.Monoid.Singletons | |
type (a1 :: k1) <$ (a2 :: Last b) Source # | |
Defined in Data.Monoid.Singletons | |
type (a1 :: k1) <$ (a2 :: Down b) Source # | |
Defined in Data.Functor.Singletons | |
type (a1 :: k1) <$ (a2 :: First b) Source # | |
Defined in Data.Semigroup.Singletons | |
type (a1 :: k1) <$ (a2 :: Last b) Source # | |
Defined in Data.Semigroup.Singletons | |
type (a1 :: k1) <$ (a2 :: Max b) Source # | |
Defined in Data.Semigroup.Singletons | |
type (a1 :: k1) <$ (a2 :: Min b) Source # | |
Defined in Data.Semigroup.Singletons | |
type (a1 :: k1) <$ (a2 :: Dual b) Source # | |
Defined in Data.Semigroup.Singletons.Internal | |
type (a1 :: k1) <$ (a2 :: Product b) Source # | |
Defined in Data.Semigroup.Singletons.Internal | |
type (a1 :: k1) <$ (a2 :: Sum b) Source # | |
Defined in Data.Semigroup.Singletons.Internal | |
type (a1 :: k1) <$ (a2 :: NonEmpty b) Source # | |
Defined in Control.Monad.Singletons.Internal | |
type (a1 :: k1) <$ (a2 :: Maybe b) Source # | |
Defined in Control.Monad.Singletons.Internal | |
type (a1 :: k1) <$ (a2 :: [b]) Source # | |
Defined in Control.Monad.Singletons.Internal type (a1 :: k1) <$ (a2 :: [b]) | |
type (arg1 :: a) <$ (arg2 :: Proxy b) Source # | |
Defined in Data.Proxy.Singletons | |
type (a2 :: k1) <$ (a3 :: Either a1 b) Source # | |
Defined in Control.Monad.Singletons.Internal | |
type (a2 :: k1) <$ (a3 :: Arg a1 b) Source # | |
Defined in Data.Semigroup.Singletons | |
type (a2 :: k1) <$ (a3 :: (a1, b)) Source # | |
Defined in Data.Functor.Singletons type (a2 :: k1) <$ (a3 :: (a1, b)) | |
type (a1 :: k1) <$ (a2 :: Const m b) Source # | |
Defined in Data.Functor.Const.Singletons | |
type (a1 :: k1) <$ (a2 :: Product f g b) Source # | |
Defined in Data.Functor.Product.Singletons | |
type (a1 :: k1) <$ (a2 :: Sum f g b) Source # | |
Defined in Data.Functor.Sum.Singletons | |
type (a1 :: k1) <$ (a2 :: Compose f g b) Source # | |
Defined in Data.Functor.Compose.Singletons |
(%<$) :: forall a b (t :: a) (t :: f b). SFunctor f => Sing t -> Sing t -> Sing (Apply (Apply (<$@#@$) t) t :: f a) infixl 4 Source #
type family (a :: f a) <**> (a :: f ((~>) a b)) :: f b where ... infixl 4 Source #
a_6989586621679336996 <**> a_6989586621679336998 = Apply (Apply (Apply LiftA2Sym0 (Apply (Apply Lambda_6989586621679337007Sym0 a_6989586621679336996) a_6989586621679336998)) a_6989586621679336996) a_6989586621679336998 |
(%<**>) :: forall f a b (t :: f a) (t :: f ((~>) a b)). SApplicative f => Sing t -> Sing t -> Sing (Apply (Apply (<**>@#@$) t) t :: f b) infixl 4 Source #
sLiftA :: forall a b f (t :: (~>) a b) (t :: f a). SApplicative f => Sing t -> Sing t -> Sing (Apply (Apply LiftASym0 t) t :: f b) Source #
type family LiftA3 (a :: (~>) a ((~>) b ((~>) c d))) (a :: f a) (a :: f b) (a :: f c) :: f d where ... Source #
LiftA3 f a b c = Apply (Apply (<*>@#@$) (Apply (Apply (Apply LiftA2Sym0 f) a) b)) c |
sLiftA3 :: forall a b c d f (t :: (~>) a ((~>) b ((~>) c d))) (t :: f a) (t :: f b) (t :: f c). SApplicative f => Sing t -> Sing t -> Sing t -> Sing t -> Sing (Apply (Apply (Apply (Apply LiftA3Sym0 t) t) t) t :: f d) Source #
sOptional :: forall f a (t :: f a). SAlternative f => Sing t -> Sing (Apply OptionalSym0 t :: f (Maybe a)) Source #
Defunctionalization symbols
data PureSym0 :: (~>) a (f a) Source #
Instances
SApplicative f => SingI (PureSym0 :: TyFun a (f a) -> Type) Source # | |
Defined in Control.Monad.Singletons.Internal | |
SuppressUnusedWarnings (PureSym0 :: TyFun a (f a) -> Type) Source # | |
Defined in Control.Monad.Singletons.Internal suppressUnusedWarnings :: () # | |
type Apply (PureSym0 :: TyFun a (f a) -> Type) (a6989586621679337039 :: a) Source # | |
Defined in Control.Monad.Singletons.Internal |
data (<*>@#@$) :: (~>) (f ((~>) a b)) ((~>) (f a) (f b)) infixl 4 Source #
Instances
SApplicative f => SingI ((<*>@#@$) :: TyFun (f (a ~> b)) (f a ~> f b) -> Type) Source # | |
Defined in Control.Monad.Singletons.Internal | |
SuppressUnusedWarnings ((<*>@#@$) :: TyFun (f (a ~> b)) (f a ~> f b) -> Type) Source # | |
Defined in Control.Monad.Singletons.Internal suppressUnusedWarnings :: () # | |
type Apply ((<*>@#@$) :: TyFun (f (a ~> b)) (f a ~> f b) -> Type) (a6989586621679337043 :: f (a ~> b)) Source # | |
Defined in Control.Monad.Singletons.Internal type Apply ((<*>@#@$) :: TyFun (f (a ~> b)) (f a ~> f b) -> Type) (a6989586621679337043 :: f (a ~> b)) = (<*>@#@$$) a6989586621679337043 |
data (<*>@#@$$) (a6989586621679337043 :: f ((~>) a b)) :: (~>) (f a) (f b) infixl 4 Source #
Instances
SApplicative f => SingI1 ((<*>@#@$$) :: f (a ~> b) -> TyFun (f a) (f b) -> Type) Source # | |
Defined in Control.Monad.Singletons.Internal liftSing :: forall (x :: k1). Sing x -> Sing ((<*>@#@$$) x) | |
(SApplicative f, SingI d) => SingI ((<*>@#@$$) d :: TyFun (f a) (f b) -> Type) Source # | |
Defined in Control.Monad.Singletons.Internal sing :: Sing ((<*>@#@$$) d) | |
SuppressUnusedWarnings ((<*>@#@$$) a6989586621679337043 :: TyFun (f a) (f b) -> Type) Source # | |
Defined in Control.Monad.Singletons.Internal suppressUnusedWarnings :: () # | |
type Apply ((<*>@#@$$) a6989586621679337043 :: TyFun (f a) (f b) -> Type) (a6989586621679337044 :: f a) Source # | |
Defined in Control.Monad.Singletons.Internal type Apply ((<*>@#@$$) a6989586621679337043 :: TyFun (f a) (f b) -> Type) (a6989586621679337044 :: f a) = a6989586621679337043 <*> a6989586621679337044 |
type family (a6989586621679337043 :: f ((~>) a b)) <*>@#@$$$ (a6989586621679337044 :: f a) :: f b where ... infixl 4 Source #
data (*>@#@$) :: (~>) (f a) ((~>) (f b) (f b)) infixl 4 Source #
Instances
SApplicative f => SingI ((*>@#@$) :: TyFun (f a) (f b ~> f b) -> Type) Source # | |
Defined in Control.Monad.Singletons.Internal | |
SuppressUnusedWarnings ((*>@#@$) :: TyFun (f a) (f b ~> f b) -> Type) Source # | |
Defined in Control.Monad.Singletons.Internal suppressUnusedWarnings :: () # | |
type Apply ((*>@#@$) :: TyFun (f a) (f b ~> f b) -> Type) (a6989586621679337055 :: f a) Source # | |
Defined in Control.Monad.Singletons.Internal |
data (*>@#@$$) (a6989586621679337055 :: f a) :: (~>) (f b) (f b) infixl 4 Source #
Instances
SApplicative f => SingI1 ((*>@#@$$) :: f a -> TyFun (f b) (f b) -> Type) Source # | |
Defined in Control.Monad.Singletons.Internal | |
(SApplicative f, SingI d) => SingI ((*>@#@$$) d :: TyFun (f b) (f b) -> Type) Source # | |
Defined in Control.Monad.Singletons.Internal | |
SuppressUnusedWarnings ((*>@#@$$) a6989586621679337055 :: TyFun (f b) (f b) -> Type) Source # | |
Defined in Control.Monad.Singletons.Internal suppressUnusedWarnings :: () # | |
type Apply ((*>@#@$$) a6989586621679337055 :: TyFun (f b) (f b) -> Type) (a6989586621679337056 :: f b) Source # | |
Defined in Control.Monad.Singletons.Internal |
type family (a6989586621679337055 :: f a) *>@#@$$$ (a6989586621679337056 :: f b) :: f b where ... infixl 4 Source #
data (<*@#@$) :: (~>) (f a) ((~>) (f b) (f a)) infixl 4 Source #
Instances
SApplicative f => SingI ((<*@#@$) :: TyFun (f a) (f b ~> f a) -> Type) Source # | |
Defined in Control.Monad.Singletons.Internal | |
SuppressUnusedWarnings ((<*@#@$) :: TyFun (f a) (f b ~> f a) -> Type) Source # | |
Defined in Control.Monad.Singletons.Internal suppressUnusedWarnings :: () # | |
type Apply ((<*@#@$) :: TyFun (f a) (f b ~> f a) -> Type) (a6989586621679337060 :: f a) Source # | |
Defined in Control.Monad.Singletons.Internal |
data (<*@#@$$) (a6989586621679337060 :: f a) :: (~>) (f b) (f a) infixl 4 Source #
Instances
SApplicative f => SingI1 ((<*@#@$$) :: f a -> TyFun (f b) (f a) -> Type) Source # | |
Defined in Control.Monad.Singletons.Internal | |
(SApplicative f, SingI d) => SingI ((<*@#@$$) d :: TyFun (f b) (f a) -> Type) Source # | |
Defined in Control.Monad.Singletons.Internal | |
SuppressUnusedWarnings ((<*@#@$$) a6989586621679337060 :: TyFun (f b) (f a) -> Type) Source # | |
Defined in Control.Monad.Singletons.Internal suppressUnusedWarnings :: () # | |
type Apply ((<*@#@$$) a6989586621679337060 :: TyFun (f b) (f a) -> Type) (a6989586621679337061 :: f b) Source # | |
Defined in Control.Monad.Singletons.Internal |
type family (a6989586621679337060 :: f a) <*@#@$$$ (a6989586621679337061 :: f b) :: f a where ... infixl 4 Source #
data (<|>@#@$) :: (~>) (f a) ((~>) (f a) (f a)) infixl 3 Source #
Instances
SAlternative f => SingI ((<|>@#@$) :: TyFun (f a) (f a ~> f a) -> Type) Source # | |
Defined in Control.Monad.Singletons.Internal | |
SuppressUnusedWarnings ((<|>@#@$) :: TyFun (f a) (f a ~> f a) -> Type) Source # | |
Defined in Control.Monad.Singletons.Internal suppressUnusedWarnings :: () # | |
type Apply ((<|>@#@$) :: TyFun (f a) (f a ~> f a) -> Type) (a6989586621679337164 :: f a) Source # | |
Defined in Control.Monad.Singletons.Internal type Apply ((<|>@#@$) :: TyFun (f a) (f a ~> f a) -> Type) (a6989586621679337164 :: f a) = (<|>@#@$$) a6989586621679337164 |
data (<|>@#@$$) (a6989586621679337164 :: f a) :: (~>) (f a) (f a) infixl 3 Source #
Instances
SAlternative f => SingI1 ((<|>@#@$$) :: f a -> TyFun (f a) (f a) -> Type) Source # | |
Defined in Control.Monad.Singletons.Internal liftSing :: forall (x :: k1). Sing x -> Sing ((<|>@#@$$) x) | |
(SAlternative f, SingI d) => SingI ((<|>@#@$$) d :: TyFun (f a) (f a) -> Type) Source # | |
Defined in Control.Monad.Singletons.Internal sing :: Sing ((<|>@#@$$) d) | |
SuppressUnusedWarnings ((<|>@#@$$) a6989586621679337164 :: TyFun (f a) (f a) -> Type) Source # | |
Defined in Control.Monad.Singletons.Internal suppressUnusedWarnings :: () # | |
type Apply ((<|>@#@$$) a6989586621679337164 :: TyFun (f a) (f a) -> Type) (a6989586621679337165 :: f a) Source # | |
Defined in Control.Monad.Singletons.Internal type Apply ((<|>@#@$$) a6989586621679337164 :: TyFun (f a) (f a) -> Type) (a6989586621679337165 :: f a) = a6989586621679337164 <|> a6989586621679337165 |
type family (a6989586621679337164 :: f a) <|>@#@$$$ (a6989586621679337165 :: f a) :: f a where ... infixl 3 Source #
data GetConstSym0 :: (~>) (Const a b) a Source #
Instances
SingI (GetConstSym0 :: TyFun (Const a b) a -> Type) Source # | |
Defined in Data.Functor.Const.Singletons sing :: Sing GetConstSym0 | |
SuppressUnusedWarnings (GetConstSym0 :: TyFun (Const a b) a -> Type) Source # | |
Defined in Data.Functor.Const.Singletons suppressUnusedWarnings :: () # | |
type Apply (GetConstSym0 :: TyFun (Const a b) a -> Type) (a6989586621680726290 :: Const a b) Source # | |
Defined in Data.Functor.Const.Singletons type Apply (GetConstSym0 :: TyFun (Const a b) a -> Type) (a6989586621680726290 :: Const a b) = GetConst a6989586621680726290 |
type family GetConstSym1 (a6989586621680726290 :: Const a b) :: a where ... Source #
GetConstSym1 a6989586621680726290 = GetConst a6989586621680726290 |
data (<$>@#@$) :: (~>) ((~>) a b) ((~>) (f a) (f b)) infixl 4 Source #
Instances
SFunctor f => SingI ((<$>@#@$) :: TyFun (a ~> b) (f a ~> f b) -> Type) Source # | |
Defined in Data.Functor.Singletons | |
SuppressUnusedWarnings ((<$>@#@$) :: TyFun (a ~> b) (f a ~> f b) -> Type) Source # | |
Defined in Data.Functor.Singletons suppressUnusedWarnings :: () # | |
type Apply ((<$>@#@$) :: TyFun (a ~> b) (f a ~> f b) -> Type) (a6989586621679524018 :: a ~> b) Source # | |
Defined in Data.Functor.Singletons type Apply ((<$>@#@$) :: TyFun (a ~> b) (f a ~> f b) -> Type) (a6989586621679524018 :: a ~> b) = (<$>@#@$$) a6989586621679524018 :: TyFun (f a) (f b) -> Type |
data (<$>@#@$$) (a6989586621679524018 :: (~>) a b) :: (~>) (f a) (f b) infixl 4 Source #
Instances
SFunctor f => SingI1 ((<$>@#@$$) :: (a ~> b) -> TyFun (f a) (f b) -> Type) Source # | |
Defined in Data.Functor.Singletons liftSing :: forall (x :: k1). Sing x -> Sing ((<$>@#@$$) x) | |
(SFunctor f, SingI d) => SingI ((<$>@#@$$) d :: TyFun (f a) (f b) -> Type) Source # | |
Defined in Data.Functor.Singletons sing :: Sing ((<$>@#@$$) d) | |
SuppressUnusedWarnings ((<$>@#@$$) a6989586621679524018 :: TyFun (f a) (f b) -> Type) Source # | |
Defined in Data.Functor.Singletons suppressUnusedWarnings :: () # | |
type Apply ((<$>@#@$$) a6989586621679524018 :: TyFun (f a) (f b) -> Type) (a6989586621679524019 :: f a) Source # | |
Defined in Data.Functor.Singletons type Apply ((<$>@#@$$) a6989586621679524018 :: TyFun (f a) (f b) -> Type) (a6989586621679524019 :: f a) = a6989586621679524018 <$> a6989586621679524019 |
type family (a6989586621679524018 :: (~>) a b) <$>@#@$$$ (a6989586621679524019 :: f a) :: f b where ... infixl 4 Source #
data (<$@#@$) :: (~>) a ((~>) (f b) (f a)) infixl 4 Source #
Instances
SFunctor f => SingI ((<$@#@$) :: TyFun a (f b ~> f a) -> Type) Source # | |
Defined in Control.Monad.Singletons.Internal | |
SuppressUnusedWarnings ((<$@#@$) :: TyFun a (f b ~> f a) -> Type) Source # | |
Defined in Control.Monad.Singletons.Internal suppressUnusedWarnings :: () # | |
type Apply ((<$@#@$) :: TyFun a (f b ~> f a) -> Type) (a6989586621679337020 :: a) Source # | |
Defined in Control.Monad.Singletons.Internal |
data (<$@#@$$) (a6989586621679337020 :: a) :: (~>) (f b) (f a) infixl 4 Source #
Instances
SFunctor f => SingI1 ((<$@#@$$) :: a -> TyFun (f b) (f a) -> Type) Source # | |
Defined in Control.Monad.Singletons.Internal | |
(SFunctor f, SingI d) => SingI ((<$@#@$$) d :: TyFun (f b) (f a) -> Type) Source # | |
Defined in Control.Monad.Singletons.Internal | |
SuppressUnusedWarnings ((<$@#@$$) a6989586621679337020 :: TyFun (f b) (f a) -> Type) Source # | |
Defined in Control.Monad.Singletons.Internal suppressUnusedWarnings :: () # | |
type Apply ((<$@#@$$) a6989586621679337020 :: TyFun (f b) (f a) -> Type) (a6989586621679337021 :: f b) Source # | |
Defined in Control.Monad.Singletons.Internal |
type family (a6989586621679337020 :: a) <$@#@$$$ (a6989586621679337021 :: f b) :: f a where ... infixl 4 Source #
data (<**>@#@$) :: (~>) (f a) ((~>) (f ((~>) a b)) (f b)) infixl 4 Source #
Instances
SApplicative f => SingI ((<**>@#@$) :: TyFun (f a) (f (a ~> b) ~> f b) -> Type) Source # | |
Defined in Control.Monad.Singletons.Internal sing :: Sing (<**>@#@$) | |
SuppressUnusedWarnings ((<**>@#@$) :: TyFun (f a) (f (a ~> b) ~> f b) -> Type) Source # | |
Defined in Control.Monad.Singletons.Internal suppressUnusedWarnings :: () # | |
type Apply ((<**>@#@$) :: TyFun (f a) (f (a ~> b) ~> f b) -> Type) (a6989586621679337003 :: f a) Source # | |
Defined in Control.Monad.Singletons.Internal type Apply ((<**>@#@$) :: TyFun (f a) (f (a ~> b) ~> f b) -> Type) (a6989586621679337003 :: f a) = (<**>@#@$$) a6989586621679337003 :: TyFun (f (a ~> b)) (f b) -> Type |
data (<**>@#@$$) (a6989586621679337003 :: f a) :: (~>) (f ((~>) a b)) (f b) infixl 4 Source #
Instances
SApplicative f => SingI1 ((<**>@#@$$) :: f a -> TyFun (f (a ~> b)) (f b) -> Type) Source # | |
Defined in Control.Monad.Singletons.Internal liftSing :: forall (x :: k1). Sing x -> Sing ((<**>@#@$$) x) | |
(SApplicative f, SingI d) => SingI ((<**>@#@$$) d :: TyFun (f (a ~> b)) (f b) -> Type) Source # | |
Defined in Control.Monad.Singletons.Internal sing :: Sing ((<**>@#@$$) d) | |
SuppressUnusedWarnings ((<**>@#@$$) a6989586621679337003 :: TyFun (f (a ~> b)) (f b) -> Type) Source # | |
Defined in Control.Monad.Singletons.Internal suppressUnusedWarnings :: () # | |
type Apply ((<**>@#@$$) a6989586621679337003 :: TyFun (f (a ~> b)) (f b) -> Type) (a6989586621679337004 :: f (a ~> b)) Source # | |
Defined in Control.Monad.Singletons.Internal type Apply ((<**>@#@$$) a6989586621679337003 :: TyFun (f (a ~> b)) (f b) -> Type) (a6989586621679337004 :: f (a ~> b)) = a6989586621679337003 <**> a6989586621679337004 |
type family (a6989586621679337003 :: f a) <**>@#@$$$ (a6989586621679337004 :: f ((~>) a b)) :: f b where ... infixl 4 Source #
a6989586621679337003 <**>@#@$$$ a6989586621679337004 = (<**>) a6989586621679337003 a6989586621679337004 |
data LiftASym0 :: (~>) ((~>) a b) ((~>) (f a) (f b)) Source #
Instances
SApplicative f => SingI (LiftASym0 :: TyFun (a ~> b) (f a ~> f b) -> Type) Source # | |
Defined in Control.Monad.Singletons.Internal | |
SuppressUnusedWarnings (LiftASym0 :: TyFun (a ~> b) (f a ~> f b) -> Type) Source # | |
Defined in Control.Monad.Singletons.Internal suppressUnusedWarnings :: () # | |
type Apply (LiftASym0 :: TyFun (a ~> b) (f a ~> f b) -> Type) (a6989586621679336992 :: a ~> b) Source # | |
Defined in Control.Monad.Singletons.Internal |
data LiftASym1 (a6989586621679336992 :: (~>) a b) :: (~>) (f a) (f b) Source #
Instances
SApplicative f => SingI1 (LiftASym1 :: (a ~> b) -> TyFun (f a) (f b) -> Type) Source # | |
Defined in Control.Monad.Singletons.Internal | |
(SApplicative f, SingI d) => SingI (LiftASym1 d :: TyFun (f a) (f b) -> Type) Source # | |
Defined in Control.Monad.Singletons.Internal | |
SuppressUnusedWarnings (LiftASym1 a6989586621679336992 :: TyFun (f a) (f b) -> Type) Source # | |
Defined in Control.Monad.Singletons.Internal suppressUnusedWarnings :: () # | |
type Apply (LiftASym1 a6989586621679336992 :: TyFun (f a) (f b) -> Type) (a6989586621679336993 :: f a) Source # | |
Defined in Control.Monad.Singletons.Internal |
type family LiftASym2 (a6989586621679336992 :: (~>) a b) (a6989586621679336993 :: f a) :: f b where ... Source #
data LiftA2Sym0 :: (~>) ((~>) a ((~>) b c)) ((~>) (f a) ((~>) (f b) (f c))) Source #
Instances
SApplicative f => SingI (LiftA2Sym0 :: TyFun (a ~> (b ~> c)) (f a ~> (f b ~> f c)) -> Type) Source # | |
Defined in Control.Monad.Singletons.Internal sing :: Sing LiftA2Sym0 | |
SuppressUnusedWarnings (LiftA2Sym0 :: TyFun (a ~> (b ~> c)) (f a ~> (f b ~> f c)) -> Type) Source # | |
Defined in Control.Monad.Singletons.Internal suppressUnusedWarnings :: () # | |
type Apply (LiftA2Sym0 :: TyFun (a ~> (b ~> c)) (f a ~> (f b ~> f c)) -> Type) (a6989586621679337049 :: a ~> (b ~> c)) Source # | |
Defined in Control.Monad.Singletons.Internal type Apply (LiftA2Sym0 :: TyFun (a ~> (b ~> c)) (f a ~> (f b ~> f c)) -> Type) (a6989586621679337049 :: a ~> (b ~> c)) = LiftA2Sym1 a6989586621679337049 :: TyFun (f a) (f b ~> f c) -> Type |
data LiftA2Sym1 (a6989586621679337049 :: (~>) a ((~>) b c)) :: (~>) (f a) ((~>) (f b) (f c)) Source #
Instances
SApplicative f => SingI1 (LiftA2Sym1 :: (a ~> (b ~> c)) -> TyFun (f a) (f b ~> f c) -> Type) Source # | |
Defined in Control.Monad.Singletons.Internal liftSing :: forall (x :: k1). Sing x -> Sing (LiftA2Sym1 x) | |
(SApplicative f, SingI d) => SingI (LiftA2Sym1 d :: TyFun (f a) (f b ~> f c) -> Type) Source # | |
Defined in Control.Monad.Singletons.Internal sing :: Sing (LiftA2Sym1 d) | |
SuppressUnusedWarnings (LiftA2Sym1 a6989586621679337049 :: TyFun (f a) (f b ~> f c) -> Type) Source # | |
Defined in Control.Monad.Singletons.Internal suppressUnusedWarnings :: () # | |
type Apply (LiftA2Sym1 a6989586621679337049 :: TyFun (f a) (f b ~> f c) -> Type) (a6989586621679337050 :: f a) Source # | |
Defined in Control.Monad.Singletons.Internal type Apply (LiftA2Sym1 a6989586621679337049 :: TyFun (f a) (f b ~> f c) -> Type) (a6989586621679337050 :: f a) = LiftA2Sym2 a6989586621679337049 a6989586621679337050 |
data LiftA2Sym2 (a6989586621679337049 :: (~>) a ((~>) b c)) (a6989586621679337050 :: f a) :: (~>) (f b) (f c) Source #
Instances
(SApplicative f, SingI d) => SingI1 (LiftA2Sym2 d :: f a -> TyFun (f b) (f c) -> Type) Source # | |
Defined in Control.Monad.Singletons.Internal liftSing :: forall (x :: k1). Sing x -> Sing (LiftA2Sym2 d x) | |
SApplicative f => SingI2 (LiftA2Sym2 :: (a ~> (b ~> c)) -> f a -> TyFun (f b) (f c) -> Type) Source # | |
Defined in Control.Monad.Singletons.Internal liftSing2 :: forall (x :: k1) (y :: k2). Sing x -> Sing y -> Sing (LiftA2Sym2 x y) | |
(SApplicative f, SingI d1, SingI d2) => SingI (LiftA2Sym2 d1 d2 :: TyFun (f b) (f c) -> Type) Source # | |
Defined in Control.Monad.Singletons.Internal sing :: Sing (LiftA2Sym2 d1 d2) | |
SuppressUnusedWarnings (LiftA2Sym2 a6989586621679337049 a6989586621679337050 :: TyFun (f b) (f c) -> Type) Source # | |
Defined in Control.Monad.Singletons.Internal suppressUnusedWarnings :: () # | |
type Apply (LiftA2Sym2 a6989586621679337049 a6989586621679337050 :: TyFun (f b) (f c) -> Type) (a6989586621679337051 :: f b) Source # | |
Defined in Control.Monad.Singletons.Internal type Apply (LiftA2Sym2 a6989586621679337049 a6989586621679337050 :: TyFun (f b) (f c) -> Type) (a6989586621679337051 :: f b) = LiftA2 a6989586621679337049 a6989586621679337050 a6989586621679337051 |
type family LiftA2Sym3 (a6989586621679337049 :: (~>) a ((~>) b c)) (a6989586621679337050 :: f a) (a6989586621679337051 :: f b) :: f c where ... Source #
LiftA2Sym3 a6989586621679337049 a6989586621679337050 a6989586621679337051 = LiftA2 a6989586621679337049 a6989586621679337050 a6989586621679337051 |
data LiftA3Sym0 :: (~>) ((~>) a ((~>) b ((~>) c d))) ((~>) (f a) ((~>) (f b) ((~>) (f c) (f d)))) Source #
Instances
SApplicative f => SingI (LiftA3Sym0 :: TyFun (a ~> (b ~> (c ~> d))) (f a ~> (f b ~> (f c ~> f d))) -> Type) Source # | |
Defined in Control.Monad.Singletons.Internal sing :: Sing LiftA3Sym0 | |
SuppressUnusedWarnings (LiftA3Sym0 :: TyFun (a ~> (b ~> (c ~> d))) (f a ~> (f b ~> (f c ~> f d))) -> Type) Source # | |
Defined in Control.Monad.Singletons.Internal suppressUnusedWarnings :: () # | |
type Apply (LiftA3Sym0 :: TyFun (a ~> (b ~> (c ~> d))) (f a ~> (f b ~> (f c ~> f d))) -> Type) (a6989586621679336981 :: a ~> (b ~> (c ~> d))) Source # | |
Defined in Control.Monad.Singletons.Internal type Apply (LiftA3Sym0 :: TyFun (a ~> (b ~> (c ~> d))) (f a ~> (f b ~> (f c ~> f d))) -> Type) (a6989586621679336981 :: a ~> (b ~> (c ~> d))) = LiftA3Sym1 a6989586621679336981 :: TyFun (f a) (f b ~> (f c ~> f d)) -> Type |
data LiftA3Sym1 (a6989586621679336981 :: (~>) a ((~>) b ((~>) c d))) :: (~>) (f a) ((~>) (f b) ((~>) (f c) (f d))) Source #
Instances
SApplicative f => SingI1 (LiftA3Sym1 :: (a ~> (b ~> (c ~> d))) -> TyFun (f a) (f b ~> (f c ~> f d)) -> Type) Source # | |
Defined in Control.Monad.Singletons.Internal liftSing :: forall (x :: k1). Sing x -> Sing (LiftA3Sym1 x) | |
(SApplicative f, SingI d2) => SingI (LiftA3Sym1 d2 :: TyFun (f a) (f b ~> (f c ~> f d1)) -> Type) Source # | |
Defined in Control.Monad.Singletons.Internal sing :: Sing (LiftA3Sym1 d2) | |
SuppressUnusedWarnings (LiftA3Sym1 a6989586621679336981 :: TyFun (f a) (f b ~> (f c ~> f d)) -> Type) Source # | |
Defined in Control.Monad.Singletons.Internal suppressUnusedWarnings :: () # | |
type Apply (LiftA3Sym1 a6989586621679336981 :: TyFun (f a) (f b ~> (f c ~> f d)) -> Type) (a6989586621679336982 :: f a) Source # | |
Defined in Control.Monad.Singletons.Internal type Apply (LiftA3Sym1 a6989586621679336981 :: TyFun (f a) (f b ~> (f c ~> f d)) -> Type) (a6989586621679336982 :: f a) = LiftA3Sym2 a6989586621679336981 a6989586621679336982 |
data LiftA3Sym2 (a6989586621679336981 :: (~>) a ((~>) b ((~>) c d))) (a6989586621679336982 :: f a) :: (~>) (f b) ((~>) (f c) (f d)) Source #
Instances
(SApplicative f, SingI d2) => SingI1 (LiftA3Sym2 d2 :: f a -> TyFun (f b) (f c ~> f d1) -> Type) Source # | |
Defined in Control.Monad.Singletons.Internal liftSing :: forall (x :: k1). Sing x -> Sing (LiftA3Sym2 d2 x) | |
SApplicative f => SingI2 (LiftA3Sym2 :: (a ~> (b ~> (c ~> d))) -> f a -> TyFun (f b) (f c ~> f d) -> Type) Source # | |
Defined in Control.Monad.Singletons.Internal liftSing2 :: forall (x :: k1) (y :: k2). Sing x -> Sing y -> Sing (LiftA3Sym2 x y) | |
(SApplicative f, SingI d2, SingI d3) => SingI (LiftA3Sym2 d2 d3 :: TyFun (f b) (f c ~> f d1) -> Type) Source # | |
Defined in Control.Monad.Singletons.Internal sing :: Sing (LiftA3Sym2 d2 d3) | |
SuppressUnusedWarnings (LiftA3Sym2 a6989586621679336981 a6989586621679336982 :: TyFun (f b) (f c ~> f d) -> Type) Source # | |
Defined in Control.Monad.Singletons.Internal suppressUnusedWarnings :: () # | |
type Apply (LiftA3Sym2 a6989586621679336981 a6989586621679336982 :: TyFun (f b) (f c ~> f d) -> Type) (a6989586621679336983 :: f b) Source # | |
Defined in Control.Monad.Singletons.Internal type Apply (LiftA3Sym2 a6989586621679336981 a6989586621679336982 :: TyFun (f b) (f c ~> f d) -> Type) (a6989586621679336983 :: f b) = LiftA3Sym3 a6989586621679336981 a6989586621679336982 a6989586621679336983 |
data LiftA3Sym3 (a6989586621679336981 :: (~>) a ((~>) b ((~>) c d))) (a6989586621679336982 :: f a) (a6989586621679336983 :: f b) :: (~>) (f c) (f d) Source #
Instances
(SApplicative f, SingI d2) => SingI2 (LiftA3Sym3 d2 :: f a -> f b -> TyFun (f c) (f d1) -> Type) Source # | |
Defined in Control.Monad.Singletons.Internal liftSing2 :: forall (x :: k1) (y :: k2). Sing x -> Sing y -> Sing (LiftA3Sym3 d2 x y) | |
(SApplicative f, SingI d2, SingI d3) => SingI1 (LiftA3Sym3 d2 d3 :: f b -> TyFun (f c) (f d1) -> Type) Source # | |
Defined in Control.Monad.Singletons.Internal liftSing :: forall (x :: k1). Sing x -> Sing (LiftA3Sym3 d2 d3 x) | |
(SApplicative f, SingI d2, SingI d3, SingI d4) => SingI (LiftA3Sym3 d2 d3 d4 :: TyFun (f c) (f d1) -> Type) Source # | |
Defined in Control.Monad.Singletons.Internal sing :: Sing (LiftA3Sym3 d2 d3 d4) | |
SuppressUnusedWarnings (LiftA3Sym3 a6989586621679336981 a6989586621679336982 a6989586621679336983 :: TyFun (f c) (f d) -> Type) Source # | |
Defined in Control.Monad.Singletons.Internal suppressUnusedWarnings :: () # | |
type Apply (LiftA3Sym3 a6989586621679336981 a6989586621679336982 a6989586621679336983 :: TyFun (f c) (f d) -> Type) (a6989586621679336984 :: f c) Source # | |
Defined in Control.Monad.Singletons.Internal type Apply (LiftA3Sym3 a6989586621679336981 a6989586621679336982 a6989586621679336983 :: TyFun (f c) (f d) -> Type) (a6989586621679336984 :: f c) = LiftA3 a6989586621679336981 a6989586621679336982 a6989586621679336983 a6989586621679336984 |
data OptionalSym0 :: (~>) (f a) (f (Maybe a)) Source #
Instances
SAlternative f => SingI (OptionalSym0 :: TyFun (f a) (f (Maybe a)) -> Type) Source # | |
Defined in Control.Applicative.Singletons sing :: Sing OptionalSym0 | |
SuppressUnusedWarnings (OptionalSym0 :: TyFun (f a) (f (Maybe a)) -> Type) Source # | |
Defined in Control.Applicative.Singletons suppressUnusedWarnings :: () # | |
type Apply (OptionalSym0 :: TyFun (f a) (f (Maybe a)) -> Type) (a6989586621681295411 :: f a) Source # | |
Defined in Control.Applicative.Singletons type Apply (OptionalSym0 :: TyFun (f a) (f (Maybe a)) -> Type) (a6989586621681295411 :: f a) = Optional a6989586621681295411 |
type family OptionalSym1 (a6989586621681295411 :: f a) :: f (Maybe a) where ... Source #
OptionalSym1 a6989586621681295411 = Optional a6989586621681295411 |
Orphan instances
PApplicative Down Source # | |
SApplicative Down Source # | |
sPure :: forall a (t :: a). Sing t -> Sing (Apply PureSym0 t) Source # (%<*>) :: forall a b (t :: Down (a ~> b)) (t :: Down a). Sing t -> Sing t -> Sing (Apply (Apply (<*>@#@$) t) t) Source # sLiftA2 :: forall a b c (t :: a ~> (b ~> c)) (t :: Down a) (t :: Down b). Sing t -> Sing t -> Sing t -> Sing (Apply (Apply (Apply LiftA2Sym0 t) t) t) Source # (%*>) :: forall a b (t :: Down a) (t :: Down b). Sing t -> Sing t -> Sing (Apply (Apply (*>@#@$) t) t) Source # (%<*) :: forall a b (t :: Down a) (t :: Down b). Sing t -> Sing t -> Sing (Apply (Apply (<*@#@$) t) t) Source # | |
PApplicative ((,) a) Source # | |
SMonoid a => SApplicative ((,) a) Source # | |
sPure :: forall a0 (t :: a0). Sing t -> Sing (Apply PureSym0 t) Source # (%<*>) :: forall a0 b (t :: (a, a0 ~> b)) (t :: (a, a0)). Sing t -> Sing t -> Sing (Apply (Apply (<*>@#@$) t) t) Source # sLiftA2 :: forall a0 b c (t :: a0 ~> (b ~> c)) (t :: (a, a0)) (t :: (a, b)). Sing t -> Sing t -> Sing t -> Sing (Apply (Apply (Apply LiftA2Sym0 t) t) t) Source # (%*>) :: forall a0 b (t :: (a, a0)) (t :: (a, b)). Sing t -> Sing t -> Sing (Apply (Apply (*>@#@$) t) t) Source # (%<*) :: forall a0 b (t :: (a, a0)) (t :: (a, b)). Sing t -> Sing t -> Sing (Apply (Apply (<*@#@$) t) t) Source # |