Copyright | (C) 2018 Ryan Scott |
---|---|
License | BSD-style (see LICENSE) |
Maintainer | Ryan Scott |
Stability | experimental |
Portability | non-portable |
Safe Haskell | None |
Language | Haskell2010 |
Defines the promoted version of Semigroup
, PSemigroup
, and the
singleton version, SSemigroup
.
Synopsis
- class PSemigroup a where
- class SSemigroup a where
- type family Sing :: k -> Type
- data SMin :: forall (a :: Type). Min a -> Type where
- data SMax :: forall (a :: Type). Max a -> Type where
- data SFirst :: forall (a :: Type). First a -> Type where
- data SLast :: forall (a :: Type). Last a -> Type where
- data SWrappedMonoid :: forall (m :: Type). WrappedMonoid m -> Type where
- SWrapMonoid :: forall (m :: Type) (n :: m). (Sing n) -> SWrappedMonoid ('WrapMonoid n :: WrappedMonoid (m :: 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 SArg :: forall (a :: Type) (b :: Type). Arg a b -> Type where
- type family GetMin (a :: Min (a :: Type)) :: a where ...
- type family GetMax (a :: Max (a :: Type)) :: a where ...
- type family GetFirst (a :: First (a :: Type)) :: a where ...
- type family GetLast (a :: Last (a :: Type)) :: a where ...
- type family UnwrapMonoid (a :: WrappedMonoid (m :: Type)) :: m 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 ...
- sGetMin :: forall (a :: Type) (t :: Min (a :: Type)). Sing t -> Sing (Apply GetMinSym0 t :: a)
- sGetMax :: forall (a :: Type) (t :: Max (a :: Type)). Sing t -> Sing (Apply GetMaxSym0 t :: a)
- sGetFirst :: forall (a :: Type) (t :: First (a :: Type)). Sing t -> Sing (Apply GetFirstSym0 t :: a)
- sGetLast :: forall (a :: Type) (t :: Last (a :: Type)). Sing t -> Sing (Apply GetLastSym0 t :: a)
- sUnwrapMonoid :: forall (m :: Type) (t :: WrappedMonoid (m :: Type)). Sing t -> Sing (Apply UnwrapMonoidSym0 t :: m)
- 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)
- data (<>@#@$) :: (~>) a ((~>) a a)
- data (<>@#@$$) (a6989586621679653661 :: a) :: (~>) a a
- type family (a6989586621679653661 :: a) <>@#@$$$ (a6989586621679653662 :: a) :: a where ...
- data SconcatSym0 :: (~>) (NonEmpty a) a
- type family SconcatSym1 (a6989586621679653665 :: NonEmpty a) :: a where ...
- data MinSym0 :: (~>) a (Min (a :: Type))
- type family MinSym1 (a6989586621679666106 :: a) :: Min (a :: Type) where ...
- data GetMinSym0 :: (~>) (Min (a :: Type)) a
- type family GetMinSym1 (a6989586621679666109 :: Min (a :: Type)) :: a where ...
- data MaxSym0 :: (~>) a (Max (a :: Type))
- type family MaxSym1 (a6989586621679666125 :: a) :: Max (a :: Type) where ...
- data GetMaxSym0 :: (~>) (Max (a :: Type)) a
- type family GetMaxSym1 (a6989586621679666128 :: Max (a :: Type)) :: a where ...
- data FirstSym0 :: (~>) a (First (a :: Type))
- type family FirstSym1 (a6989586621679666144 :: a) :: First (a :: Type) where ...
- data GetFirstSym0 :: (~>) (First (a :: Type)) a
- type family GetFirstSym1 (a6989586621679666147 :: First (a :: Type)) :: a where ...
- data LastSym0 :: (~>) a (Last (a :: Type))
- type family LastSym1 (a6989586621679666163 :: a) :: Last (a :: Type) where ...
- data GetLastSym0 :: (~>) (Last (a :: Type)) a
- type family GetLastSym1 (a6989586621679666166 :: Last (a :: Type)) :: a where ...
- data WrapMonoidSym0 :: (~>) m (WrappedMonoid (m :: Type))
- type family WrapMonoidSym1 (a6989586621679666182 :: m) :: WrappedMonoid (m :: Type) where ...
- data UnwrapMonoidSym0 :: (~>) (WrappedMonoid (m :: Type)) m
- type family UnwrapMonoidSym1 (a6989586621679666185 :: WrappedMonoid (m :: Type)) :: m where ...
- data DualSym0 :: (~>) a (Dual (a :: Type))
- type family DualSym1 (a6989586621679666016 :: a) :: Dual (a :: Type) where ...
- data GetDualSym0 :: (~>) (Dual (a :: Type)) a
- type family GetDualSym1 (a6989586621679666019 :: Dual (a :: Type)) :: a where ...
- data AllSym0 :: (~>) Bool All
- type family AllSym1 (a6989586621679666033 :: Bool) :: All where ...
- data GetAllSym0 :: (~>) All Bool
- type family GetAllSym1 (a6989586621679666036 :: All) :: Bool where ...
- data AnySym0 :: (~>) Bool Any
- type family AnySym1 (a6989586621679666049 :: Bool) :: Any where ...
- data GetAnySym0 :: (~>) Any Bool
- type family GetAnySym1 (a6989586621679666052 :: Any) :: Bool where ...
- data SumSym0 :: (~>) a (Sum (a :: Type))
- type family SumSym1 (a6989586621679666068 :: a) :: Sum (a :: Type) where ...
- data GetSumSym0 :: (~>) (Sum (a :: Type)) a
- type family GetSumSym1 (a6989586621679666071 :: Sum (a :: Type)) :: a where ...
- data ProductSym0 :: (~>) a (Product (a :: Type))
- type family ProductSym1 (a6989586621679666087 :: a) :: Product (a :: Type) where ...
- data GetProductSym0 :: (~>) (Product (a :: Type)) a
- type family GetProductSym1 (a6989586621679666090 :: Product (a :: Type)) :: a where ...
- data ArgSym0 :: (~>) a ((~>) b (Arg (a :: Type) (b :: Type)))
- data ArgSym1 (a6989586621680850326 :: a) :: (~>) b (Arg (a :: Type) (b :: Type))
- type family ArgSym2 (a6989586621680850326 :: a) (a6989586621680850327 :: b) :: Arg (a :: Type) (b :: Type) where ...
Documentation
class PSemigroup a Source #
Instances
PSemigroup Ordering Source # | |
PSemigroup Symbol Source # | |
PSemigroup () Source # | |
PSemigroup Void Source # | |
PSemigroup All Source # | |
PSemigroup Any Source # | |
PSemigroup [a] Source # | |
PSemigroup (Maybe a) Source # | |
PSemigroup (Min a) Source # | |
PSemigroup (Max a) Source # | |
PSemigroup (First a) Source # | |
PSemigroup (Last a) Source # | |
PSemigroup (WrappedMonoid m) Source # | |
PSemigroup (Identity a) Source # | |
PSemigroup (First a) Source # | |
PSemigroup (Last a) Source # | |
PSemigroup (Dual a) Source # | |
PSemigroup (Sum a) Source # | |
PSemigroup (Product a) Source # | |
PSemigroup (Down a) Source # | |
PSemigroup (NonEmpty a) Source # | |
PSemigroup (Either a b) Source # | |
PSemigroup (a, b) Source # | |
PSemigroup (Proxy s) Source # | |
PSemigroup (a ~> b) Source # | |
PSemigroup (a, b, c) Source # | |
PSemigroup (Const a b) Source # | |
PSemigroup (a, b, c, d) Source # | |
PSemigroup (a, b, c, d, e) Source # | |
class SSemigroup a where Source #
(%<>) :: forall (t :: a) (t :: a). Sing t -> Sing t -> Sing (Apply (Apply (<>@#@$) t) t :: a) infixr 6 Source #
sSconcat :: forall (t :: NonEmpty a). Sing t -> Sing (Apply SconcatSym0 t :: a) Source #
Instances
type family Sing :: k -> Type #
The singleton kind-indexed type family.
Instances
data SMin :: forall (a :: Type). Min a -> Type where Source #
data SMax :: forall (a :: Type). Max a -> Type where Source #
data SFirst :: forall (a :: Type). First a -> Type where Source #
data SLast :: forall (a :: Type). Last a -> Type where Source #
data SWrappedMonoid :: forall (m :: Type). WrappedMonoid m -> Type where Source #
SWrapMonoid :: forall (m :: Type) (n :: m). (Sing n) -> SWrappedMonoid ('WrapMonoid n :: WrappedMonoid (m :: Type)) |
Instances
SDecide m => TestCoercion (SWrappedMonoid :: WrappedMonoid m -> Type) Source # | |
Defined in Data.Semigroup.Singletons.Internal testCoercion :: forall (a :: k) (b :: k). SWrappedMonoid a -> SWrappedMonoid b -> Maybe (Coercion a b) # | |
SDecide m => TestEquality (SWrappedMonoid :: WrappedMonoid m -> Type) Source # | |
Defined in Data.Semigroup.Singletons.Internal testEquality :: forall (a :: k) (b :: k). SWrappedMonoid a -> SWrappedMonoid b -> Maybe (a :~: b) # | |
ShowSing m => Show (SWrappedMonoid z) Source # | |
Defined in Data.Semigroup.Singletons showsPrec :: Int -> SWrappedMonoid z -> ShowS # show :: SWrappedMonoid z -> String # showList :: [SWrappedMonoid z] -> ShowS # |
data SDual :: forall (a :: Type). Dual a -> Type where 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 #
data SProduct :: forall (a :: Type). Product a -> Type where Source #
data SArg :: forall (a :: Type) (b :: Type). Arg a b -> Type where Source #
type family UnwrapMonoid (a :: WrappedMonoid (m :: Type)) :: m where ... Source #
UnwrapMonoid ('WrapMonoid field) = field |
type family GetProduct (a :: Product (a :: Type)) :: a where ... Source #
GetProduct ('Product field) = field |
sGetMin :: forall (a :: Type) (t :: Min (a :: Type)). Sing t -> Sing (Apply GetMinSym0 t :: a) Source #
sGetMax :: forall (a :: Type) (t :: Max (a :: Type)). Sing t -> Sing (Apply GetMaxSym0 t :: a) Source #
sGetFirst :: forall (a :: Type) (t :: First (a :: Type)). Sing t -> Sing (Apply GetFirstSym0 t :: a) Source #
sGetLast :: forall (a :: Type) (t :: Last (a :: Type)). Sing t -> Sing (Apply GetLastSym0 t :: a) Source #
sUnwrapMonoid :: forall (m :: Type) (t :: WrappedMonoid (m :: Type)). Sing t -> Sing (Apply UnwrapMonoidSym0 t :: m) Source #
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 #
Defunctionalization symbols
data (<>@#@$) :: (~>) a ((~>) a a) infixr 6 Source #
Instances
SSemigroup a => SingI ((<>@#@$) :: TyFun a (a ~> a) -> Type) Source # | |
Defined in Data.Semigroup.Singletons.Internal | |
SuppressUnusedWarnings ((<>@#@$) :: TyFun a (a ~> a) -> Type) Source # | |
Defined in Data.Semigroup.Singletons.Internal suppressUnusedWarnings :: () # | |
type Apply ((<>@#@$) :: TyFun a (a ~> a) -> Type) (a6989586621679653661 :: a) Source # | |
data (<>@#@$$) (a6989586621679653661 :: a) :: (~>) a a infixr 6 Source #
Instances
(SSemigroup a, SingI d) => SingI ((<>@#@$$) d :: TyFun a a -> Type) Source # | |
Defined in Data.Semigroup.Singletons.Internal | |
SuppressUnusedWarnings ((<>@#@$$) a6989586621679653661 :: TyFun a a -> Type) Source # | |
Defined in Data.Semigroup.Singletons.Internal suppressUnusedWarnings :: () # | |
type Apply ((<>@#@$$) a6989586621679653661 :: TyFun a a -> Type) (a6989586621679653662 :: a) Source # | |
type family (a6989586621679653661 :: a) <>@#@$$$ (a6989586621679653662 :: a) :: a where ... infixr 6 Source #
data SconcatSym0 :: (~>) (NonEmpty a) a Source #
Instances
SSemigroup a => SingI (SconcatSym0 :: TyFun (NonEmpty a) a -> Type) Source # | |
Defined in Data.Semigroup.Singletons.Internal sing :: Sing SconcatSym0 # | |
SuppressUnusedWarnings (SconcatSym0 :: TyFun (NonEmpty a) a -> Type) Source # | |
Defined in Data.Semigroup.Singletons.Internal suppressUnusedWarnings :: () # | |
type Apply (SconcatSym0 :: TyFun (NonEmpty a) a -> Type) (a6989586621679653665 :: NonEmpty a) Source # | |
Defined in Data.Semigroup.Singletons.Internal |
type family SconcatSym1 (a6989586621679653665 :: NonEmpty a) :: a where ... Source #
SconcatSym1 a6989586621679653665 = Sconcat a6989586621679653665 |
data MinSym0 :: (~>) a (Min (a :: Type)) Source #
Instances
SingI (MinSym0 :: TyFun a (Min a) -> Type) Source # | |
Defined in Data.Semigroup.Singletons.Internal | |
SuppressUnusedWarnings (MinSym0 :: TyFun a (Min a) -> Type) Source # | |
Defined in Data.Semigroup.Singletons.Internal suppressUnusedWarnings :: () # | |
type Apply (MinSym0 :: TyFun a (Min a) -> Type) (a6989586621679666106 :: a) Source # | |
data GetMinSym0 :: (~>) (Min (a :: Type)) a Source #
Instances
SingI (GetMinSym0 :: TyFun (Min a) a -> Type) Source # | |
Defined in Data.Semigroup.Singletons.Internal sing :: Sing GetMinSym0 # | |
SuppressUnusedWarnings (GetMinSym0 :: TyFun (Min a) a -> Type) Source # | |
Defined in Data.Semigroup.Singletons.Internal suppressUnusedWarnings :: () # | |
type Apply (GetMinSym0 :: TyFun (Min a) a -> Type) (a6989586621679666109 :: Min a) Source # | |
Defined in Data.Semigroup.Singletons.Internal |
type family GetMinSym1 (a6989586621679666109 :: Min (a :: Type)) :: a where ... Source #
GetMinSym1 a6989586621679666109 = GetMin a6989586621679666109 |
data MaxSym0 :: (~>) a (Max (a :: Type)) Source #
Instances
SingI (MaxSym0 :: TyFun a (Max a) -> Type) Source # | |
Defined in Data.Semigroup.Singletons.Internal | |
SuppressUnusedWarnings (MaxSym0 :: TyFun a (Max a) -> Type) Source # | |
Defined in Data.Semigroup.Singletons.Internal suppressUnusedWarnings :: () # | |
type Apply (MaxSym0 :: TyFun a (Max a) -> Type) (a6989586621679666125 :: a) Source # | |
data GetMaxSym0 :: (~>) (Max (a :: Type)) a Source #
Instances
SingI (GetMaxSym0 :: TyFun (Max a) a -> Type) Source # | |
Defined in Data.Semigroup.Singletons.Internal sing :: Sing GetMaxSym0 # | |
SuppressUnusedWarnings (GetMaxSym0 :: TyFun (Max a) a -> Type) Source # | |
Defined in Data.Semigroup.Singletons.Internal suppressUnusedWarnings :: () # | |
type Apply (GetMaxSym0 :: TyFun (Max a) a -> Type) (a6989586621679666128 :: Max a) Source # | |
Defined in Data.Semigroup.Singletons.Internal |
type family GetMaxSym1 (a6989586621679666128 :: Max (a :: Type)) :: a where ... Source #
GetMaxSym1 a6989586621679666128 = GetMax a6989586621679666128 |
data FirstSym0 :: (~>) a (First (a :: Type)) Source #
Instances
SingI (FirstSym0 :: TyFun a (First a) -> Type) Source # | |
Defined in Data.Semigroup.Singletons.Internal | |
SuppressUnusedWarnings (FirstSym0 :: TyFun a (First a) -> Type) Source # | |
Defined in Data.Semigroup.Singletons.Internal suppressUnusedWarnings :: () # | |
type Apply (FirstSym0 :: TyFun a (First a) -> Type) (a6989586621679666144 :: a) Source # | |
data GetFirstSym0 :: (~>) (First (a :: Type)) a Source #
Instances
SingI (GetFirstSym0 :: TyFun (First a) a -> Type) Source # | |
Defined in Data.Semigroup.Singletons.Internal sing :: Sing GetFirstSym0 # | |
SuppressUnusedWarnings (GetFirstSym0 :: TyFun (First a) a -> Type) Source # | |
Defined in Data.Semigroup.Singletons.Internal suppressUnusedWarnings :: () # | |
type Apply (GetFirstSym0 :: TyFun (First a) a -> Type) (a6989586621679666147 :: First a) Source # | |
Defined in Data.Semigroup.Singletons.Internal |
type family GetFirstSym1 (a6989586621679666147 :: First (a :: Type)) :: a where ... Source #
GetFirstSym1 a6989586621679666147 = GetFirst a6989586621679666147 |
data LastSym0 :: (~>) a (Last (a :: Type)) Source #
Instances
SingI (LastSym0 :: TyFun a (Last a) -> Type) Source # | |
Defined in Data.Semigroup.Singletons.Internal | |
SuppressUnusedWarnings (LastSym0 :: TyFun a (Last a) -> Type) Source # | |
Defined in Data.Semigroup.Singletons.Internal suppressUnusedWarnings :: () # | |
type Apply (LastSym0 :: TyFun a (Last a) -> Type) (a6989586621679666163 :: a) Source # | |
data GetLastSym0 :: (~>) (Last (a :: Type)) a Source #
Instances
SingI (GetLastSym0 :: TyFun (Last a) a -> Type) Source # | |
Defined in Data.Semigroup.Singletons.Internal sing :: Sing GetLastSym0 # | |
SuppressUnusedWarnings (GetLastSym0 :: TyFun (Last a) a -> Type) Source # | |
Defined in Data.Semigroup.Singletons.Internal suppressUnusedWarnings :: () # | |
type Apply (GetLastSym0 :: TyFun (Last a) a -> Type) (a6989586621679666166 :: Last a) Source # | |
Defined in Data.Semigroup.Singletons.Internal |
type family GetLastSym1 (a6989586621679666166 :: Last (a :: Type)) :: a where ... Source #
GetLastSym1 a6989586621679666166 = GetLast a6989586621679666166 |
data WrapMonoidSym0 :: (~>) m (WrappedMonoid (m :: Type)) Source #
Instances
SingI (WrapMonoidSym0 :: TyFun m (WrappedMonoid m) -> Type) Source # | |
Defined in Data.Semigroup.Singletons.Internal sing :: Sing WrapMonoidSym0 # | |
SuppressUnusedWarnings (WrapMonoidSym0 :: TyFun m (WrappedMonoid m) -> Type) Source # | |
Defined in Data.Semigroup.Singletons.Internal suppressUnusedWarnings :: () # | |
type Apply (WrapMonoidSym0 :: TyFun m (WrappedMonoid m) -> Type) (a6989586621679666182 :: m) Source # | |
Defined in Data.Semigroup.Singletons.Internal type Apply (WrapMonoidSym0 :: TyFun m (WrappedMonoid m) -> Type) (a6989586621679666182 :: m) = 'WrapMonoid a6989586621679666182 |
type family WrapMonoidSym1 (a6989586621679666182 :: m) :: WrappedMonoid (m :: Type) where ... Source #
WrapMonoidSym1 a6989586621679666182 = 'WrapMonoid a6989586621679666182 |
data UnwrapMonoidSym0 :: (~>) (WrappedMonoid (m :: Type)) m Source #
Instances
SingI (UnwrapMonoidSym0 :: TyFun (WrappedMonoid m) m -> Type) Source # | |
Defined in Data.Semigroup.Singletons.Internal | |
SuppressUnusedWarnings (UnwrapMonoidSym0 :: TyFun (WrappedMonoid m) m -> Type) Source # | |
Defined in Data.Semigroup.Singletons.Internal suppressUnusedWarnings :: () # | |
type Apply (UnwrapMonoidSym0 :: TyFun (WrappedMonoid m) m -> Type) (a6989586621679666185 :: WrappedMonoid m) Source # | |
Defined in Data.Semigroup.Singletons.Internal type Apply (UnwrapMonoidSym0 :: TyFun (WrappedMonoid m) m -> Type) (a6989586621679666185 :: WrappedMonoid m) = UnwrapMonoid a6989586621679666185 |
type family UnwrapMonoidSym1 (a6989586621679666185 :: WrappedMonoid (m :: Type)) :: m where ... Source #
UnwrapMonoidSym1 a6989586621679666185 = UnwrapMonoid a6989586621679666185 |
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) (a6989586621679666016 :: a) Source # | |
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) (a6989586621679666019 :: Dual a) Source # | |
Defined in Data.Semigroup.Singletons.Internal |
type family GetDualSym1 (a6989586621679666019 :: Dual (a :: Type)) :: a where ... Source #
GetDualSym1 a6989586621679666019 = GetDual a6989586621679666019 |
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 (a6989586621679666033 :: 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 (a6989586621679666036 :: All) Source # | |
Defined in Data.Semigroup.Singletons.Internal |
type family GetAllSym1 (a6989586621679666036 :: All) :: Bool where ... Source #
GetAllSym1 a6989586621679666036 = GetAll a6989586621679666036 |
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 (a6989586621679666049 :: 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 (a6989586621679666052 :: Any) Source # | |
Defined in Data.Semigroup.Singletons.Internal |
type family GetAnySym1 (a6989586621679666052 :: Any) :: Bool where ... Source #
GetAnySym1 a6989586621679666052 = GetAny a6989586621679666052 |
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) (a6989586621679666068 :: a) Source # | |
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) (a6989586621679666071 :: Sum a) Source # | |
Defined in Data.Semigroup.Singletons.Internal |
type family GetSumSym1 (a6989586621679666071 :: Sum (a :: Type)) :: a where ... Source #
GetSumSym1 a6989586621679666071 = GetSum a6989586621679666071 |
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) (a6989586621679666087 :: a) Source # | |
Defined in Data.Semigroup.Singletons.Internal |
type family ProductSym1 (a6989586621679666087 :: a) :: Product (a :: Type) where ... Source #
ProductSym1 a6989586621679666087 = 'Product a6989586621679666087 |
data GetProductSym0 :: (~>) (Product (a :: Type)) a Source #
Instances
SingI (GetProductSym0 :: TyFun (Product a) a -> Type) Source # | |
Defined in Data.Semigroup.Singletons.Internal sing :: Sing GetProductSym0 # | |
SuppressUnusedWarnings (GetProductSym0 :: TyFun (Product a) a -> Type) Source # | |
Defined in Data.Semigroup.Singletons.Internal suppressUnusedWarnings :: () # | |
type Apply (GetProductSym0 :: TyFun (Product a) a -> Type) (a6989586621679666090 :: Product a) Source # | |
Defined in Data.Semigroup.Singletons.Internal type Apply (GetProductSym0 :: TyFun (Product a) a -> Type) (a6989586621679666090 :: Product a) = GetProduct a6989586621679666090 |
type family GetProductSym1 (a6989586621679666090 :: Product (a :: Type)) :: a where ... Source #
GetProductSym1 a6989586621679666090 = GetProduct a6989586621679666090 |
data ArgSym0 :: (~>) a ((~>) b (Arg (a :: Type) (b :: Type))) Source #
Instances
SingI (ArgSym0 :: TyFun a (b ~> Arg a b) -> Type) Source # | |
Defined in Data.Semigroup.Singletons | |
SuppressUnusedWarnings (ArgSym0 :: TyFun a (b ~> Arg a b) -> Type) Source # | |
Defined in Data.Semigroup.Singletons suppressUnusedWarnings :: () # | |
type Apply (ArgSym0 :: TyFun a (b ~> Arg a b) -> Type) (a6989586621680850326 :: a) Source # | |
data ArgSym1 (a6989586621680850326 :: a) :: (~>) b (Arg (a :: Type) (b :: Type)) Source #
Instances
SingI d => SingI (ArgSym1 d :: TyFun b (Arg a b) -> Type) Source # | |
Defined in Data.Semigroup.Singletons | |
SuppressUnusedWarnings (ArgSym1 a6989586621680850326 :: TyFun b (Arg a b) -> Type) Source # | |
Defined in Data.Semigroup.Singletons suppressUnusedWarnings :: () # | |
type Apply (ArgSym1 a6989586621680850326 :: TyFun b (Arg a b) -> Type) (a6989586621680850327 :: b) Source # | |
type family ArgSym2 (a6989586621680850326 :: a) (a6989586621680850327 :: b) :: Arg (a :: Type) (b :: Type) where ... Source #