Copyright | (C) 2018 Ryan Scott |
---|---|
License | BSD-style (see LICENSE) |
Maintainer | Ryan Scott |
Stability | experimental |
Portability | non-portable |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Synopsis
- class PMonoid a where
- class SSemigroup a => SMonoid a where
- sMempty :: Sing (MemptySym0 :: a)
- sMappend :: forall (t :: a) (t :: a). Sing t -> Sing t -> Sing (Apply (Apply MappendSym0 t) t :: a)
- sMconcat :: forall (t :: [a]). Sing t -> Sing (Apply MconcatSym0 t :: a)
- type family Sing :: k -> Type
- data SDual :: forall (a :: Type). Dual a -> Type where
- data SAll :: All -> Type where
- data SAny :: Any -> Type where
- data SSum :: forall (a :: Type). Sum a -> Type where
- data SProduct :: forall (a :: Type). Product a -> Type where
- data SFirst :: forall (a :: Type). First a -> Type where
- data SLast :: forall (a :: Type). Last a -> Type where
- type family GetDual (a :: Dual (a :: Type)) :: a where ...
- type family GetAll (a :: All) :: Bool where ...
- type family GetAny (a :: Any) :: Bool where ...
- type family GetSum (a :: Sum (a :: Type)) :: a where ...
- type family GetProduct (a :: Product (a :: Type)) :: a where ...
- type family GetFirst (a :: First (a :: Type)) :: Maybe a where ...
- type family GetLast (a :: Last (a :: Type)) :: Maybe a where ...
- sGetDual :: forall (a :: Type) (t :: Dual (a :: Type)). Sing t -> Sing (Apply GetDualSym0 t :: a)
- sGetAll :: forall (t :: All). Sing t -> Sing (Apply GetAllSym0 t :: Bool)
- sGetAny :: forall (t :: Any). Sing t -> Sing (Apply GetAnySym0 t :: Bool)
- sGetSum :: forall (a :: Type) (t :: Sum (a :: Type)). Sing t -> Sing (Apply GetSumSym0 t :: a)
- sGetProduct :: forall (a :: Type) (t :: Product (a :: Type)). Sing t -> Sing (Apply GetProductSym0 t :: a)
- sGetFirst :: forall (a :: Type) (t :: First (a :: Type)). Sing t -> Sing (Apply GetFirstSym0 t :: Maybe a)
- sGetLast :: forall (a :: Type) (t :: Last (a :: Type)). Sing t -> Sing (Apply GetLastSym0 t :: Maybe a)
- type family MemptySym0 :: a where ...
- data MappendSym0 :: (~>) a ((~>) a a)
- data MappendSym1 (a6989586621680329555 :: a) :: (~>) a a
- type family MappendSym2 (a6989586621680329555 :: a) (a6989586621680329556 :: a) :: a where ...
- data MconcatSym0 :: (~>) [a] a
- type family MconcatSym1 (a6989586621680329559 :: [a]) :: a where ...
- data DualSym0 :: (~>) a (Dual (a :: Type))
- type family DualSym1 (a6989586621679700095 :: a) :: Dual (a :: Type) where ...
- data GetDualSym0 :: (~>) (Dual (a :: Type)) a
- type family GetDualSym1 (a6989586621679700098 :: Dual (a :: Type)) :: a where ...
- data AllSym0 :: (~>) Bool All
- type family AllSym1 (a6989586621679700112 :: Bool) :: All where ...
- data GetAllSym0 :: (~>) All Bool
- type family GetAllSym1 (a6989586621679700115 :: All) :: Bool where ...
- data AnySym0 :: (~>) Bool Any
- type family AnySym1 (a6989586621679700128 :: Bool) :: Any where ...
- data GetAnySym0 :: (~>) Any Bool
- type family GetAnySym1 (a6989586621679700131 :: Any) :: Bool where ...
- data SumSym0 :: (~>) a (Sum (a :: Type))
- type family SumSym1 (a6989586621679700147 :: a) :: Sum (a :: Type) where ...
- data GetSumSym0 :: (~>) (Sum (a :: Type)) a
- type family GetSumSym1 (a6989586621679700150 :: Sum (a :: Type)) :: a where ...
- data ProductSym0 :: (~>) a (Product (a :: Type))
- type family ProductSym1 (a6989586621679700166 :: a) :: Product (a :: Type) where ...
- data GetProductSym0 :: (~>) (Product (a :: Type)) a
- type family GetProductSym1 (a6989586621679700169 :: Product (a :: Type)) :: a where ...
- data FirstSym0 :: (~>) (Maybe a) (First (a :: Type))
- type family FirstSym1 (a6989586621680333800 :: Maybe a) :: First (a :: Type) where ...
- data GetFirstSym0 :: (~>) (First (a :: Type)) (Maybe a)
- type family GetFirstSym1 (a6989586621680333803 :: First (a :: Type)) :: Maybe a where ...
- data LastSym0 :: (~>) (Maybe a) (Last (a :: Type))
- type family LastSym1 (a6989586621680333824 :: Maybe a) :: Last (a :: Type) where ...
- data GetLastSym0 :: (~>) (Last (a :: Type)) (Maybe a)
- type family GetLastSym1 (a6989586621680333827 :: Last (a :: Type)) :: Maybe a where ...
Documentation
type Mappend (arg :: a) (arg :: a) :: a Source #
type Mappend a a = Apply (Apply Mappend_6989586621680329562Sym0 a) a
type Mconcat (arg :: [a]) :: a Source #
type Mconcat a = Apply Mconcat_6989586621680329576Sym0 a
Instances
PMonoid All Source # | |
PMonoid Any Source # | |
PMonoid Ordering Source # | |
PMonoid () Source # | |
PMonoid Symbol Source # | |
PMonoid (Identity a) Source # | |
PMonoid (First a) Source # | |
PMonoid (Last a) Source # | |
PMonoid (Down a) Source # | |
PMonoid (Max a) Source # | |
PMonoid (Min a) Source # | |
PMonoid (WrappedMonoid m) Source # | |
PMonoid (Dual a) Source # | |
PMonoid (Product a) Source # | |
PMonoid (Sum a) Source # | |
PMonoid (Maybe a) Source # | |
PMonoid [a] Source # | |
PMonoid (Proxy s) Source # | |
PMonoid (a ~> b) Source # | |
PMonoid (a, b) Source # | |
PMonoid (Const a b) Source # | |
PMonoid (a, b, c) Source # | |
PMonoid (a, b, c, d) Source # | |
PMonoid (a, b, c, d, e) Source # | |
class SSemigroup a => SMonoid a where Source #
sMempty :: Sing (MemptySym0 :: a) Source #
sMappend :: forall (t :: a) (t :: a). Sing t -> Sing t -> Sing (Apply (Apply MappendSym0 t) t :: a) Source #
default sMappend :: forall (t :: a) (t :: a). (Apply (Apply MappendSym0 t) t :: a) ~ Apply (Apply Mappend_6989586621680329562Sym0 t) t => Sing t -> Sing t -> Sing (Apply (Apply MappendSym0 t) t :: a) Source #
sMconcat :: forall (t :: [a]). Sing t -> Sing (Apply MconcatSym0 t :: a) Source #
default sMconcat :: forall (t :: [a]). (Apply MconcatSym0 t :: a) ~ Apply Mconcat_6989586621680329576Sym0 t => Sing t -> Sing (Apply MconcatSym0 t :: a) Source #
Instances
type family Sing :: k -> Type #
Instances
data SDual :: forall (a :: Type). Dual a -> Type where Source #
Instances
SDecide a => TestCoercion (SDual :: Dual a -> Type) Source # | |
Defined in Data.Semigroup.Singletons.Internal | |
SDecide a => TestEquality (SDual :: Dual a -> Type) Source # | |
Defined in Data.Semigroup.Singletons.Internal | |
ShowSing a => Show (SDual z) Source # | |
data SAll :: All -> Type where Source #
Instances
SDecide Bool => TestCoercion SAll Source # | |
Defined in Data.Semigroup.Singletons.Internal | |
SDecide Bool => TestEquality SAll Source # | |
Defined in Data.Semigroup.Singletons.Internal | |
ShowSing Bool => Show (SAll z) Source # | |
data SAny :: Any -> Type where Source #
Instances
SDecide Bool => TestCoercion SAny Source # | |
Defined in Data.Semigroup.Singletons.Internal | |
SDecide Bool => TestEquality SAny Source # | |
Defined in Data.Semigroup.Singletons.Internal | |
ShowSing Bool => Show (SAny z) Source # | |
data SSum :: forall (a :: Type). Sum a -> Type where Source #
Instances
SDecide a => TestCoercion (SSum :: Sum a -> Type) Source # | |
Defined in Data.Semigroup.Singletons.Internal | |
SDecide a => TestEquality (SSum :: Sum a -> Type) Source # | |
Defined in Data.Semigroup.Singletons.Internal | |
ShowSing a => Show (SSum z) Source # | |
data SProduct :: forall (a :: Type). Product a -> Type where Source #
Instances
SDecide a => TestCoercion (SProduct :: Product a -> Type) Source # | |
Defined in Data.Semigroup.Singletons.Internal | |
SDecide a => TestEquality (SProduct :: Product a -> Type) Source # | |
Defined in Data.Semigroup.Singletons.Internal | |
ShowSing a => Show (SProduct z) Source # | |
data SFirst :: forall (a :: Type). First a -> Type where Source #
data SLast :: forall (a :: Type). Last a -> Type where Source #
type family GetProduct (a :: Product (a :: Type)) :: a where ... Source #
GetProduct ('Product field) = field |
sGetDual :: forall (a :: Type) (t :: Dual (a :: Type)). Sing t -> Sing (Apply GetDualSym0 t :: a) Source #
sGetSum :: forall (a :: Type) (t :: Sum (a :: Type)). Sing t -> Sing (Apply GetSumSym0 t :: a) Source #
sGetProduct :: forall (a :: Type) (t :: Product (a :: Type)). Sing t -> Sing (Apply GetProductSym0 t :: a) Source #
sGetFirst :: forall (a :: Type) (t :: First (a :: Type)). Sing t -> Sing (Apply GetFirstSym0 t :: Maybe a) Source #
sGetLast :: forall (a :: Type) (t :: Last (a :: Type)). Sing t -> Sing (Apply GetLastSym0 t :: Maybe a) Source #
Defunctionalization symbols
type family MemptySym0 :: a where ... Source #
data MappendSym0 :: (~>) a ((~>) a a) Source #
Instances
SMonoid a => SingI (MappendSym0 :: TyFun a (a ~> a) -> Type) Source # | |
Defined in Data.Monoid.Singletons sing :: Sing MappendSym0 | |
SuppressUnusedWarnings (MappendSym0 :: TyFun a (a ~> a) -> Type) Source # | |
Defined in Data.Monoid.Singletons suppressUnusedWarnings :: () # | |
type Apply (MappendSym0 :: TyFun a (a ~> a) -> Type) (a6989586621680329555 :: a) Source # | |
Defined in Data.Monoid.Singletons type Apply (MappendSym0 :: TyFun a (a ~> a) -> Type) (a6989586621680329555 :: a) = MappendSym1 a6989586621680329555 |
data MappendSym1 (a6989586621680329555 :: a) :: (~>) a a Source #
Instances
SMonoid a => SingI1 (MappendSym1 :: a -> TyFun a a -> Type) Source # | |
Defined in Data.Monoid.Singletons liftSing :: forall (x :: k1). Sing x -> Sing (MappendSym1 x) | |
(SMonoid a, SingI d) => SingI (MappendSym1 d :: TyFun a a -> Type) Source # | |
Defined in Data.Monoid.Singletons sing :: Sing (MappendSym1 d) | |
SuppressUnusedWarnings (MappendSym1 a6989586621680329555 :: TyFun a a -> Type) Source # | |
Defined in Data.Monoid.Singletons suppressUnusedWarnings :: () # | |
type Apply (MappendSym1 a6989586621680329555 :: TyFun a a -> Type) (a6989586621680329556 :: a) Source # | |
Defined in Data.Monoid.Singletons type Apply (MappendSym1 a6989586621680329555 :: TyFun a a -> Type) (a6989586621680329556 :: a) = Mappend a6989586621680329555 a6989586621680329556 |
type family MappendSym2 (a6989586621680329555 :: a) (a6989586621680329556 :: a) :: a where ... Source #
MappendSym2 a6989586621680329555 a6989586621680329556 = Mappend a6989586621680329555 a6989586621680329556 |
data MconcatSym0 :: (~>) [a] a Source #
Instances
SMonoid a => SingI (MconcatSym0 :: TyFun [a] a -> Type) Source # | |
Defined in Data.Monoid.Singletons sing :: Sing MconcatSym0 | |
SuppressUnusedWarnings (MconcatSym0 :: TyFun [a] a -> Type) Source # | |
Defined in Data.Monoid.Singletons suppressUnusedWarnings :: () # | |
type Apply (MconcatSym0 :: TyFun [a] a -> Type) (a6989586621680329559 :: [a]) Source # | |
Defined in Data.Monoid.Singletons type Apply (MconcatSym0 :: TyFun [a] a -> Type) (a6989586621680329559 :: [a]) = Mconcat a6989586621680329559 |
type family MconcatSym1 (a6989586621680329559 :: [a]) :: a where ... Source #
MconcatSym1 a6989586621680329559 = Mconcat a6989586621680329559 |
data DualSym0 :: (~>) a (Dual (a :: Type)) Source #
Instances
SingI (DualSym0 :: TyFun a (Dual a) -> Type) Source # | |
Defined in Data.Semigroup.Singletons.Internal | |
SuppressUnusedWarnings (DualSym0 :: TyFun a (Dual a) -> Type) Source # | |
Defined in Data.Semigroup.Singletons.Internal suppressUnusedWarnings :: () # | |
type Apply (DualSym0 :: TyFun a (Dual a) -> Type) (a6989586621679700095 :: a) Source # | |
Defined in Data.Semigroup.Singletons.Internal |
data GetDualSym0 :: (~>) (Dual (a :: Type)) a Source #
Instances
SingI (GetDualSym0 :: TyFun (Dual a) a -> Type) Source # | |
Defined in Data.Semigroup.Singletons.Internal sing :: Sing GetDualSym0 | |
SuppressUnusedWarnings (GetDualSym0 :: TyFun (Dual a) a -> Type) Source # | |
Defined in Data.Semigroup.Singletons.Internal suppressUnusedWarnings :: () # | |
type Apply (GetDualSym0 :: TyFun (Dual a) a -> Type) (a6989586621679700098 :: Dual a) Source # | |
Defined in Data.Semigroup.Singletons.Internal type Apply (GetDualSym0 :: TyFun (Dual a) a -> Type) (a6989586621679700098 :: Dual a) = GetDual a6989586621679700098 |
type family GetDualSym1 (a6989586621679700098 :: Dual (a :: Type)) :: a where ... Source #
GetDualSym1 a6989586621679700098 = GetDual a6989586621679700098 |
data AllSym0 :: (~>) Bool All Source #
Instances
SingI AllSym0 Source # | |
Defined in Data.Semigroup.Singletons.Internal | |
SuppressUnusedWarnings AllSym0 Source # | |
Defined in Data.Semigroup.Singletons.Internal suppressUnusedWarnings :: () # | |
type Apply AllSym0 (a6989586621679700112 :: Bool) Source # | |
Defined in Data.Semigroup.Singletons.Internal |
data GetAllSym0 :: (~>) All Bool Source #
Instances
SingI GetAllSym0 Source # | |
Defined in Data.Semigroup.Singletons.Internal sing :: Sing GetAllSym0 | |
SuppressUnusedWarnings GetAllSym0 Source # | |
Defined in Data.Semigroup.Singletons.Internal suppressUnusedWarnings :: () # | |
type Apply GetAllSym0 (a6989586621679700115 :: All) Source # | |
Defined in Data.Semigroup.Singletons.Internal |
type family GetAllSym1 (a6989586621679700115 :: All) :: Bool where ... Source #
GetAllSym1 a6989586621679700115 = GetAll a6989586621679700115 |
data AnySym0 :: (~>) Bool Any Source #
Instances
SingI AnySym0 Source # | |
Defined in Data.Semigroup.Singletons.Internal | |
SuppressUnusedWarnings AnySym0 Source # | |
Defined in Data.Semigroup.Singletons.Internal suppressUnusedWarnings :: () # | |
type Apply AnySym0 (a6989586621679700128 :: Bool) Source # | |
Defined in Data.Semigroup.Singletons.Internal |
data GetAnySym0 :: (~>) Any Bool Source #
Instances
SingI GetAnySym0 Source # | |
Defined in Data.Semigroup.Singletons.Internal sing :: Sing GetAnySym0 | |
SuppressUnusedWarnings GetAnySym0 Source # | |
Defined in Data.Semigroup.Singletons.Internal suppressUnusedWarnings :: () # | |
type Apply GetAnySym0 (a6989586621679700131 :: Any) Source # | |
Defined in Data.Semigroup.Singletons.Internal |
type family GetAnySym1 (a6989586621679700131 :: Any) :: Bool where ... Source #
GetAnySym1 a6989586621679700131 = GetAny a6989586621679700131 |
data SumSym0 :: (~>) a (Sum (a :: Type)) Source #
Instances
SingI (SumSym0 :: TyFun a (Sum a) -> Type) Source # | |
Defined in Data.Semigroup.Singletons.Internal | |
SuppressUnusedWarnings (SumSym0 :: TyFun a (Sum a) -> Type) Source # | |
Defined in Data.Semigroup.Singletons.Internal suppressUnusedWarnings :: () # | |
type Apply (SumSym0 :: TyFun a (Sum a) -> Type) (a6989586621679700147 :: a) Source # | |
Defined in Data.Semigroup.Singletons.Internal |
data GetSumSym0 :: (~>) (Sum (a :: Type)) a Source #
Instances
SingI (GetSumSym0 :: TyFun (Sum a) a -> Type) Source # | |
Defined in Data.Semigroup.Singletons.Internal sing :: Sing GetSumSym0 | |
SuppressUnusedWarnings (GetSumSym0 :: TyFun (Sum a) a -> Type) Source # | |
Defined in Data.Semigroup.Singletons.Internal suppressUnusedWarnings :: () # | |
type Apply (GetSumSym0 :: TyFun (Sum a) a -> Type) (a6989586621679700150 :: Sum a) Source # | |
Defined in Data.Semigroup.Singletons.Internal type Apply (GetSumSym0 :: TyFun (Sum a) a -> Type) (a6989586621679700150 :: Sum a) = GetSum a6989586621679700150 |
type family GetSumSym1 (a6989586621679700150 :: Sum (a :: Type)) :: a where ... Source #
GetSumSym1 a6989586621679700150 = GetSum a6989586621679700150 |
data ProductSym0 :: (~>) a (Product (a :: Type)) Source #
Instances
SingI (ProductSym0 :: TyFun a (Product a) -> Type) Source # | |
Defined in Data.Semigroup.Singletons.Internal sing :: Sing ProductSym0 | |
SuppressUnusedWarnings (ProductSym0 :: TyFun a (Product a) -> Type) Source # | |
Defined in Data.Semigroup.Singletons.Internal suppressUnusedWarnings :: () # | |
type Apply (ProductSym0 :: TyFun a (Product a) -> Type) (a6989586621679700166 :: a) Source # | |
Defined in Data.Semigroup.Singletons.Internal type Apply (ProductSym0 :: TyFun a (Product a) -> Type) (a6989586621679700166 :: a) = 'Product a6989586621679700166 |
type family ProductSym1 (a6989586621679700166 :: a) :: Product (a :: Type) where ... Source #
ProductSym1 a6989586621679700166 = 'Product a6989586621679700166 |
data GetProductSym0 :: (~>) (Product (a :: Type)) a Source #
Instances
SingI (GetProductSym0 :: TyFun (Product a) a -> Type) Source # | |
Defined in Data.Semigroup.Singletons.Internal | |
SuppressUnusedWarnings (GetProductSym0 :: TyFun (Product a) a -> Type) Source # | |
Defined in Data.Semigroup.Singletons.Internal suppressUnusedWarnings :: () # | |
type Apply (GetProductSym0 :: TyFun (Product a) a -> Type) (a6989586621679700169 :: Product a) Source # | |
Defined in Data.Semigroup.Singletons.Internal type Apply (GetProductSym0 :: TyFun (Product a) a -> Type) (a6989586621679700169 :: Product a) = GetProduct a6989586621679700169 |
type family GetProductSym1 (a6989586621679700169 :: Product (a :: Type)) :: a where ... Source #
GetProductSym1 a6989586621679700169 = GetProduct a6989586621679700169 |
data FirstSym0 :: (~>) (Maybe a) (First (a :: Type)) Source #
Instances
SingI (FirstSym0 :: TyFun (Maybe a) (First a) -> Type) Source # | |
Defined in Data.Monoid.Singletons | |
SuppressUnusedWarnings (FirstSym0 :: TyFun (Maybe a) (First a) -> Type) Source # | |
Defined in Data.Monoid.Singletons suppressUnusedWarnings :: () # | |
type Apply (FirstSym0 :: TyFun (Maybe a) (First a) -> Type) (a6989586621680333800 :: Maybe a) Source # | |
data GetFirstSym0 :: (~>) (First (a :: Type)) (Maybe a) Source #
Instances
SingI (GetFirstSym0 :: TyFun (First a) (Maybe a) -> Type) Source # | |
Defined in Data.Monoid.Singletons sing :: Sing GetFirstSym0 | |
SuppressUnusedWarnings (GetFirstSym0 :: TyFun (First a) (Maybe a) -> Type) Source # | |
Defined in Data.Monoid.Singletons suppressUnusedWarnings :: () # | |
type Apply (GetFirstSym0 :: TyFun (First a) (Maybe a) -> Type) (a6989586621680333803 :: First a) Source # | |
Defined in Data.Monoid.Singletons |
type family GetFirstSym1 (a6989586621680333803 :: First (a :: Type)) :: Maybe a where ... Source #
GetFirstSym1 a6989586621680333803 = GetFirst a6989586621680333803 |
data LastSym0 :: (~>) (Maybe a) (Last (a :: Type)) Source #
Instances
SingI (LastSym0 :: TyFun (Maybe a) (Last a) -> Type) Source # | |
Defined in Data.Monoid.Singletons | |
SuppressUnusedWarnings (LastSym0 :: TyFun (Maybe a) (Last a) -> Type) Source # | |
Defined in Data.Monoid.Singletons suppressUnusedWarnings :: () # | |
type Apply (LastSym0 :: TyFun (Maybe a) (Last a) -> Type) (a6989586621680333824 :: Maybe a) Source # | |
data GetLastSym0 :: (~>) (Last (a :: Type)) (Maybe a) Source #
Instances
SingI (GetLastSym0 :: TyFun (Last a) (Maybe a) -> Type) Source # | |
Defined in Data.Monoid.Singletons sing :: Sing GetLastSym0 | |
SuppressUnusedWarnings (GetLastSym0 :: TyFun (Last a) (Maybe a) -> Type) Source # | |
Defined in Data.Monoid.Singletons suppressUnusedWarnings :: () # | |
type Apply (GetLastSym0 :: TyFun (Last a) (Maybe a) -> Type) (a6989586621680333827 :: Last a) Source # | |
Defined in Data.Monoid.Singletons |
type family GetLastSym1 (a6989586621680333827 :: Last (a :: Type)) :: Maybe a where ... Source #
GetLastSym1 a6989586621680333827 = GetLast a6989586621680333827 |
Orphan instances
PApplicative First Source # | |
PApplicative Last Source # | |
PFunctor First Source # | |
PFunctor Last Source # | |
PMonad First Source # | |
PMonad Last Source # | |
SApplicative First Source # | |
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 # | |
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 # | |
SFunctor First Source # | |
SFunctor Last Source # | |
SMonad First Source # | |
(%>>=) :: forall a b (t :: First a) (t :: a ~> 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 # sReturn :: forall a (t :: a). Sing t -> Sing (Apply ReturnSym0 t) Source # | |
SMonad Last Source # | |
(%>>=) :: forall a b (t :: Last a) (t :: a ~> 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 # sReturn :: forall a (t :: a). Sing t -> Sing (Apply ReturnSym0 t) Source # | |
SingKind a => SingKind (First a) Source # | |
SingKind a => SingKind (Last a) Source # | |
SDecide (Maybe a) => SDecide (First a) Source # | |
SDecide (Maybe a) => SDecide (Last a) Source # | |
PEq (First a) Source # | |
PEq (Last a) Source # | |
SEq (Maybe a) => SEq (First a) Source # | |
SEq (Maybe a) => SEq (Last a) Source # | |
POrd (First a) Source # | |
POrd (Last a) Source # | |
SOrd (Maybe a) => SOrd (First a) Source # | |
sCompare :: forall (t :: First a) (t :: First a). Sing t -> Sing t -> Sing (Apply (Apply CompareSym0 t) t) Source # (%<) :: forall (t :: First a) (t :: First a). Sing t -> Sing t -> Sing (Apply (Apply (<@#@$) t) t) Source # (%<=) :: forall (t :: First a) (t :: First a). Sing t -> Sing t -> Sing (Apply (Apply (<=@#@$) t) t) Source # (%>) :: forall (t :: First a) (t :: First a). Sing t -> Sing t -> Sing (Apply (Apply (>@#@$) t) t) Source # (%>=) :: forall (t :: First a) (t :: First a). Sing t -> Sing t -> Sing (Apply (Apply (>=@#@$) t) t) Source # sMax :: forall (t :: First a) (t :: First a). Sing t -> Sing t -> Sing (Apply (Apply MaxSym0 t) t) Source # sMin :: forall (t :: First a) (t :: First a). Sing t -> Sing t -> Sing (Apply (Apply MinSym0 t) t) Source # | |
SOrd (Maybe a) => SOrd (Last a) Source # | |
sCompare :: forall (t :: Last a) (t :: Last a). Sing t -> Sing t -> Sing (Apply (Apply CompareSym0 t) t) Source # (%<) :: forall (t :: Last a) (t :: Last a). Sing t -> Sing t -> Sing (Apply (Apply (<@#@$) t) t) Source # (%<=) :: forall (t :: Last a) (t :: Last a). Sing t -> Sing t -> Sing (Apply (Apply (<=@#@$) t) t) Source # (%>) :: forall (t :: Last a) (t :: Last a). Sing t -> Sing t -> Sing (Apply (Apply (>@#@$) t) t) Source # (%>=) :: forall (t :: Last a) (t :: Last a). Sing t -> Sing t -> Sing (Apply (Apply (>=@#@$) t) t) Source # sMax :: forall (t :: Last a) (t :: Last a). Sing t -> Sing t -> Sing (Apply (Apply MaxSym0 t) t) Source # sMin :: forall (t :: Last a) (t :: Last a). Sing t -> Sing t -> Sing (Apply (Apply MinSym0 t) t) Source # | |
PSemigroup (First a) Source # | |
PSemigroup (Last a) Source # | |
SSemigroup (First a) Source # | |
SSemigroup (Last a) Source # | |
PShow (First a) Source # | |
PShow (Last a) Source # | |
SShow (Maybe a) => SShow (First a) Source # | |
sShowsPrec :: forall (t :: Natural) (t :: First a) (t :: Symbol). Sing t -> Sing t -> Sing t -> Sing (Apply (Apply (Apply ShowsPrecSym0 t) t) t) Source # sShow_ :: forall (t :: First a). Sing t -> Sing (Apply Show_Sym0 t) Source # sShowList :: forall (t :: [First a]) (t :: Symbol). Sing t -> Sing t -> Sing (Apply (Apply ShowListSym0 t) t) Source # | |
SShow (Maybe a) => SShow (Last a) Source # | |
sShowsPrec :: forall (t :: Natural) (t :: Last a) (t :: Symbol). Sing t -> Sing t -> Sing t -> Sing (Apply (Apply (Apply ShowsPrecSym0 t) t) t) Source # sShow_ :: forall (t :: Last a). Sing t -> Sing (Apply Show_Sym0 t) Source # sShowList :: forall (t :: [Last a]) (t :: Symbol). Sing t -> Sing t -> Sing (Apply (Apply ShowListSym0 t) t) Source # | |
SingI1 ('First :: Maybe a -> First a) Source # | |
SingI1 ('Last :: Maybe a -> Last a) Source # | |
SingI n => SingI ('First n :: First a) Source # | |
SingI n => SingI ('Last n :: Last a) Source # | |