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 :: Type) where
- class SSemigroup a where
- data family Sing :: k -> Type
- type family GetMin (a :: Min a) :: a where ...
- type family GetMax (a :: Max a) :: a where ...
- type family GetFirst (a :: First a) :: a where ...
- type family GetLast (a :: Last a) :: a where ...
- type family GetDual (a :: Dual a) :: a where ...
- type family GetAll (a :: All) :: Bool where ...
- type family GetAny (a :: Any) :: Bool where ...
- type family GetSum (a :: Sum a) :: a where ...
- type family GetProduct (a :: Product a) :: a where ...
- type family GetOption (a :: Option a) :: Maybe a where ...
- type SMin = (Sing :: Min a -> Type)
- type SMax = (Sing :: Max a -> Type)
- type SFirst = (Sing :: First a -> Type)
- type SLast = (Sing :: Last a -> Type)
- type SWrappedMonoid = (Sing :: WrappedMonoid m -> Type)
- type SDual = (Sing :: Dual a -> Type)
- type SAll = (Sing :: All -> Type)
- type SAny = (Sing :: Any -> Type)
- type SSum = (Sing :: Sum a -> Type)
- type SProduct = (Sing :: Product a -> Type)
- type SOption = (Sing :: Option a -> Type)
- type SArg = (Sing :: Arg a b -> Type)
- option_ :: b -> (a -> b) -> Option a -> b
- sOption_ :: forall b a (t :: b) (t :: (~>) a b) (t :: Option a). Sing t -> Sing t -> Sing t -> Sing (Apply (Apply (Apply Option_Sym0 t) t) t :: b)
- type family Option_ (a :: b) (a :: (~>) a b) (a :: Option a) :: b where ...
- data (<>@#@$) :: forall a6989586621679810357. (~>) a6989586621679810357 ((~>) a6989586621679810357 a6989586621679810357)
- data (<>@#@$$) (arg6989586621679810842 :: a6989586621679810357) :: (~>) a6989586621679810357 a6989586621679810357
- type (<>@#@$$$) (arg6989586621679810842 :: a6989586621679810357) (arg6989586621679810843 :: a6989586621679810357) = (<>) arg6989586621679810842 arg6989586621679810843
- data SconcatSym0 :: forall a6989586621679810357. (~>) (NonEmpty a6989586621679810357) a6989586621679810357
- type SconcatSym1 (arg6989586621679810846 :: NonEmpty a6989586621679810357) = Sconcat arg6989586621679810846
- data MinSym0 :: forall (a6989586621679063560 :: Type). (~>) a6989586621679063560 (Min (a6989586621679063560 :: Type))
- type MinSym1 (t6989586621679820145 :: a6989586621679063560) = Min t6989586621679820145
- data GetMinSym0 :: forall a6989586621679063560. (~>) (Min a6989586621679063560) a6989586621679063560
- type GetMinSym1 (a6989586621679820142 :: Min a6989586621679063560) = GetMin a6989586621679820142
- data MaxSym0 :: forall (a6989586621679063566 :: Type). (~>) a6989586621679063566 (Max (a6989586621679063566 :: Type))
- type MaxSym1 (t6989586621679820162 :: a6989586621679063566) = Max t6989586621679820162
- data GetMaxSym0 :: forall a6989586621679063566. (~>) (Max a6989586621679063566) a6989586621679063566
- type GetMaxSym1 (a6989586621679820159 :: Max a6989586621679063566) = GetMax a6989586621679820159
- data FirstSym0 :: forall (a6989586621679063580 :: Type). (~>) a6989586621679063580 (First (a6989586621679063580 :: Type))
- type FirstSym1 (t6989586621679820179 :: a6989586621679063580) = First t6989586621679820179
- data GetFirstSym0 :: forall a6989586621679063580. (~>) (First a6989586621679063580) a6989586621679063580
- type GetFirstSym1 (a6989586621679820176 :: First a6989586621679063580) = GetFirst a6989586621679820176
- data LastSym0 :: forall (a6989586621679063586 :: Type). (~>) a6989586621679063586 (Last (a6989586621679063586 :: Type))
- type LastSym1 (t6989586621679820196 :: a6989586621679063586) = Last t6989586621679820196
- data GetLastSym0 :: forall a6989586621679063586. (~>) (Last a6989586621679063586) a6989586621679063586
- type GetLastSym1 (a6989586621679820193 :: Last a6989586621679063586) = GetLast a6989586621679820193
- data WrapMonoidSym0 :: forall (m6989586621679063592 :: Type). (~>) m6989586621679063592 (WrappedMonoid (m6989586621679063592 :: Type))
- type WrapMonoidSym1 (t6989586621679820213 :: m6989586621679063592) = WrapMonoid t6989586621679820213
- data UnwrapMonoidSym0 :: forall m6989586621679063592. (~>) (WrappedMonoid m6989586621679063592) m6989586621679063592
- type UnwrapMonoidSym1 (a6989586621679820210 :: WrappedMonoid m6989586621679063592) = UnwrapMonoid a6989586621679820210
- data DualSym0 :: forall (a6989586621679086865 :: Type). (~>) a6989586621679086865 (Dual (a6989586621679086865 :: Type))
- type DualSym1 (t6989586621679820066 :: a6989586621679086865) = Dual t6989586621679820066
- data GetDualSym0 :: forall a6989586621679086865. (~>) (Dual a6989586621679086865) a6989586621679086865
- type GetDualSym1 (a6989586621679820063 :: Dual a6989586621679086865) = GetDual a6989586621679820063
- data AllSym0 :: (~>) Bool All
- type AllSym1 (t6989586621679820080 :: Bool) = All t6989586621679820080
- data GetAllSym0 :: (~>) All Bool
- type GetAllSym1 (a6989586621679820077 :: All) = GetAll a6989586621679820077
- data AnySym0 :: (~>) Bool Any
- type AnySym1 (t6989586621679820094 :: Bool) = Any t6989586621679820094
- data GetAnySym0 :: (~>) Any Bool
- type GetAnySym1 (a6989586621679820091 :: Any) = GetAny a6989586621679820091
- data SumSym0 :: forall (a6989586621679086850 :: Type). (~>) a6989586621679086850 (Sum (a6989586621679086850 :: Type))
- type SumSym1 (t6989586621679820111 :: a6989586621679086850) = Sum t6989586621679820111
- data GetSumSym0 :: forall a6989586621679086850. (~>) (Sum a6989586621679086850) a6989586621679086850
- type GetSumSym1 (a6989586621679820108 :: Sum a6989586621679086850) = GetSum a6989586621679820108
- data ProductSym0 :: forall (a6989586621679086855 :: Type). (~>) a6989586621679086855 (Product (a6989586621679086855 :: Type))
- type ProductSym1 (t6989586621679820128 :: a6989586621679086855) = Product t6989586621679820128
- data GetProductSym0 :: forall a6989586621679086855. (~>) (Product a6989586621679086855) a6989586621679086855
- type GetProductSym1 (a6989586621679820125 :: Product a6989586621679086855) = GetProduct a6989586621679820125
- data OptionSym0 :: forall (a6989586621679063598 :: Type). (~>) (Maybe a6989586621679063598) (Option (a6989586621679063598 :: Type))
- type OptionSym1 (t6989586621679820049 :: Maybe a6989586621679063598) = Option t6989586621679820049
- data GetOptionSym0 :: forall a6989586621679063598. (~>) (Option a6989586621679063598) (Maybe a6989586621679063598)
- type GetOptionSym1 (a6989586621679820046 :: Option a6989586621679063598) = GetOption a6989586621679820046
- data ArgSym0 :: forall (a6989586621679063573 :: Type) (b6989586621679063574 :: Type). (~>) a6989586621679063573 ((~>) b6989586621679063574 (Arg (a6989586621679063573 :: Type) (b6989586621679063574 :: Type)))
- data ArgSym1 (t6989586621680866677 :: (a6989586621679063573 :: Type)) :: forall (b6989586621679063574 :: Type). (~>) b6989586621679063574 (Arg (a6989586621679063573 :: Type) (b6989586621679063574 :: Type))
- type ArgSym2 (t6989586621680866677 :: a6989586621679063573) (t6989586621680866678 :: b6989586621679063574) = Arg t6989586621680866677 t6989586621680866678
Documentation
class PSemigroup (a :: Type) 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 (Option a) 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 (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 #
sSconcat :: forall (t :: NonEmpty a). (Apply SconcatSym0 t :: a) ~ Apply Sconcat_6989586621679810864Sym0 t => Sing t -> Sing (Apply SconcatSym0 t :: a) Source #
Instances
data family Sing :: k -> Type Source #
The singleton kind-indexed data family.
Instances
SDecide k => TestCoercion (Sing :: k -> Type) Source # | |
Defined in Data.Singletons.Decide | |
SDecide k => TestEquality (Sing :: k -> Type) Source # | |
Defined in Data.Singletons.Decide | |
Show (SSymbol s) Source # | |
Show (SNat n) Source # | |
Eq (Sing a) Source # | |
Ord (Sing a) Source # | |
Show (Sing z) Source # | |
(ShowSing a, ShowSing [a]) => Show (Sing z) Source # | |
ShowSing a => Show (Sing z) Source # | |
Show (Sing z) Source # | |
(ShowSing a, ShowSing b) => Show (Sing z) Source # | |
Show (Sing a) Source # | |
Show (Sing z) Source # | |
(ShowSing a, ShowSing b) => Show (Sing z) Source # | |
(ShowSing a, ShowSing b, ShowSing c) => Show (Sing z) Source # | |
(ShowSing a, ShowSing b, ShowSing c, ShowSing d) => Show (Sing z) Source # | |
(ShowSing a, ShowSing b, ShowSing c, ShowSing d, ShowSing e) => Show (Sing z) Source # | |
(ShowSing a, ShowSing b, ShowSing c, ShowSing d, ShowSing e, ShowSing f) => Show (Sing z) Source # | |
(ShowSing a, ShowSing b, ShowSing c, ShowSing d, ShowSing e, ShowSing f, ShowSing g) => Show (Sing z) Source # | |
Show (Sing z) Source # | |
ShowSing a => Show (Sing z) Source # | |
ShowSing a => Show (Sing z) Source # | |
(ShowSing a, ShowSing b) => Show (Sing z) Source # | |
ShowSing a => Show (Sing z) Source # | |
ShowSing a => Show (Sing z) Source # | |
ShowSing m => Show (Sing z) Source # | |
ShowSing (Maybe a) => Show (Sing z) Source # | |
ShowSing a => Show (Sing z) Source # | |
ShowSing (Maybe a) => Show (Sing z) Source # | |
ShowSing (Maybe a) => Show (Sing z) Source # | |
ShowSing a => Show (Sing z) Source # | |
ShowSing Bool => Show (Sing z) Source # | |
ShowSing Bool => Show (Sing z) Source # | |
ShowSing a => Show (Sing z) Source # | |
ShowSing a => Show (Sing z) Source # | |
(ShowSing a, ShowSing [a]) => Show (Sing z) Source # | |
data Sing (a :: Bool) Source # | |
data Sing (a :: Ordering) Source # | |
data Sing (n :: Nat) Source # | |
data Sing (n :: Symbol) Source # | |
Defined in Data.Singletons.TypeLits.Internal | |
data Sing (a :: ()) Source # | |
Defined in Data.Singletons.Prelude.Instances | |
data Sing (a :: Void) Source # | |
Defined in Data.Singletons.Prelude.Instances | |
data Sing (a :: All) Source # | |
data Sing (a :: Any) Source # | |
data Sing (a :: PErrorMessage) Source # | |
Defined in Data.Singletons.TypeError data Sing (a :: PErrorMessage) where
| |
data Sing (b :: [a]) Source # | |
data Sing (b :: Maybe a) Source # | |
data Sing (a :: TYPE rep) Source # | A choice of singleton for the kind Conceivably, one could generalize this instance to `Sing :: k -> Type` for
any kind We cannot produce explicit singleton values for everything in |
Defined in Data.Singletons.TypeRepTYPE | |
data Sing (b :: Min a) Source # | |
data Sing (b :: Max a) Source # | |
data Sing (b :: First a) Source # | |
data Sing (b :: Last a) Source # | |
data Sing (a :: WrappedMonoid m) Source # | |
Defined in Data.Singletons.Prelude.Semigroup.Internal data Sing (a :: WrappedMonoid m) where
| |
data Sing (b :: Option a) Source # | |
data Sing (b :: Identity a) Source # | |
data Sing (b :: First a) Source # | |
data Sing (b :: Last a) Source # | |
data Sing (b :: Dual a) Source # | |
data Sing (b :: Sum a) Source # | |
data Sing (b :: Product a) Source # | |
data Sing (b :: Down a) Source # | |
data Sing (b :: NonEmpty a) Source # | |
data Sing (c :: Either a b) Source # | |
data Sing (c :: (a, b)) Source # | |
data Sing (c :: Arg a b) Source # | |
data Sing (f :: k1 ~> k2) Source # | |
data Sing (d :: (a, b, c)) Source # | |
data Sing (c :: Const a b) Source # | |
data Sing (e :: (a, b, c, d)) Source # | |
data Sing (f :: (a, b, c, d, e)) Source # | |
data Sing (g :: (a, b, c, d, e, f)) Source # | |
data Sing (h :: (a, b, c, d, e, f, g)) Source # | |
Defined in Data.Singletons.Prelude.Instances |
type family GetProduct (a :: Product a) :: a where ... Source #
GetProduct (Product field) = field |
type SWrappedMonoid = (Sing :: WrappedMonoid m -> Type) Source #
sOption_ :: forall b a (t :: b) (t :: (~>) a b) (t :: Option a). Sing t -> Sing t -> Sing t -> Sing (Apply (Apply (Apply Option_Sym0 t) t) t :: b) Source #
Defunctionalization symbols
data (<>@#@$) :: forall a6989586621679810357. (~>) a6989586621679810357 ((~>) a6989586621679810357 a6989586621679810357) infixr 6 Source #
Instances
SSemigroup a => SingI ((<>@#@$) :: TyFun a (a ~> a) -> Type) Source # | |
SuppressUnusedWarnings ((<>@#@$) :: TyFun a6989586621679810357 (a6989586621679810357 ~> a6989586621679810357) -> Type) Source # | |
Defined in Data.Singletons.Prelude.Semigroup.Internal suppressUnusedWarnings :: () Source # | |
type Apply ((<>@#@$) :: TyFun a6989586621679810357 (a6989586621679810357 ~> a6989586621679810357) -> Type) (arg6989586621679810842 :: a6989586621679810357) Source # | |
data (<>@#@$$) (arg6989586621679810842 :: a6989586621679810357) :: (~>) a6989586621679810357 a6989586621679810357 infixr 6 Source #
Instances
(SSemigroup a, SingI d) => SingI ((<>@#@$$) d :: TyFun a a -> Type) Source # | |
SuppressUnusedWarnings ((<>@#@$$) arg6989586621679810842 :: TyFun a6989586621679810357 a6989586621679810357 -> Type) Source # | |
Defined in Data.Singletons.Prelude.Semigroup.Internal suppressUnusedWarnings :: () Source # | |
type Apply ((<>@#@$$) arg6989586621679810842 :: TyFun a a -> Type) (arg6989586621679810843 :: a) Source # | |
type (<>@#@$$$) (arg6989586621679810842 :: a6989586621679810357) (arg6989586621679810843 :: a6989586621679810357) = (<>) arg6989586621679810842 arg6989586621679810843 Source #
data SconcatSym0 :: forall a6989586621679810357. (~>) (NonEmpty a6989586621679810357) a6989586621679810357 Source #
Instances
SSemigroup a => SingI (SconcatSym0 :: TyFun (NonEmpty a) a -> Type) Source # | |
Defined in Data.Singletons.Prelude.Semigroup.Internal sing :: Sing SconcatSym0 Source # | |
SuppressUnusedWarnings (SconcatSym0 :: TyFun (NonEmpty a6989586621679810357) a6989586621679810357 -> Type) Source # | |
Defined in Data.Singletons.Prelude.Semigroup.Internal suppressUnusedWarnings :: () Source # | |
type Apply (SconcatSym0 :: TyFun (NonEmpty a) a -> Type) (arg6989586621679810846 :: NonEmpty a) Source # | |
Defined in Data.Singletons.Prelude.Semigroup.Internal |
type SconcatSym1 (arg6989586621679810846 :: NonEmpty a6989586621679810357) = Sconcat arg6989586621679810846 Source #
data MinSym0 :: forall (a6989586621679063560 :: Type). (~>) a6989586621679063560 (Min (a6989586621679063560 :: Type)) Source #
Instances
SingI (MinSym0 :: TyFun a (Min a) -> Type) Source # | |
SuppressUnusedWarnings (MinSym0 :: TyFun a6989586621679063560 (Min a6989586621679063560) -> Type) Source # | |
Defined in Data.Singletons.Prelude.Semigroup.Internal suppressUnusedWarnings :: () Source # | |
type Apply (MinSym0 :: TyFun a (Min a) -> Type) (t6989586621679820145 :: a) Source # | |
data GetMinSym0 :: forall a6989586621679063560. (~>) (Min a6989586621679063560) a6989586621679063560 Source #
Instances
SuppressUnusedWarnings (GetMinSym0 :: TyFun (Min a6989586621679063560) a6989586621679063560 -> Type) Source # | |
Defined in Data.Singletons.Prelude.Semigroup.Internal suppressUnusedWarnings :: () Source # | |
type Apply (GetMinSym0 :: TyFun (Min a) a -> Type) (a6989586621679820142 :: Min a) Source # | |
Defined in Data.Singletons.Prelude.Semigroup.Internal |
type GetMinSym1 (a6989586621679820142 :: Min a6989586621679063560) = GetMin a6989586621679820142 Source #
data MaxSym0 :: forall (a6989586621679063566 :: Type). (~>) a6989586621679063566 (Max (a6989586621679063566 :: Type)) Source #
Instances
SingI (MaxSym0 :: TyFun a (Max a) -> Type) Source # | |
SuppressUnusedWarnings (MaxSym0 :: TyFun a6989586621679063566 (Max a6989586621679063566) -> Type) Source # | |
Defined in Data.Singletons.Prelude.Semigroup.Internal suppressUnusedWarnings :: () Source # | |
type Apply (MaxSym0 :: TyFun a (Max a) -> Type) (t6989586621679820162 :: a) Source # | |
data GetMaxSym0 :: forall a6989586621679063566. (~>) (Max a6989586621679063566) a6989586621679063566 Source #
Instances
SuppressUnusedWarnings (GetMaxSym0 :: TyFun (Max a6989586621679063566) a6989586621679063566 -> Type) Source # | |
Defined in Data.Singletons.Prelude.Semigroup.Internal suppressUnusedWarnings :: () Source # | |
type Apply (GetMaxSym0 :: TyFun (Max a) a -> Type) (a6989586621679820159 :: Max a) Source # | |
Defined in Data.Singletons.Prelude.Semigroup.Internal |
type GetMaxSym1 (a6989586621679820159 :: Max a6989586621679063566) = GetMax a6989586621679820159 Source #
data FirstSym0 :: forall (a6989586621679063580 :: Type). (~>) a6989586621679063580 (First (a6989586621679063580 :: Type)) Source #
Instances
SingI (FirstSym0 :: TyFun a (First a) -> Type) Source # | |
SuppressUnusedWarnings (FirstSym0 :: TyFun a6989586621679063580 (First a6989586621679063580) -> Type) Source # | |
Defined in Data.Singletons.Prelude.Semigroup.Internal suppressUnusedWarnings :: () Source # | |
type Apply (FirstSym0 :: TyFun a (First a) -> Type) (t6989586621679820179 :: a) Source # | |
data GetFirstSym0 :: forall a6989586621679063580. (~>) (First a6989586621679063580) a6989586621679063580 Source #
Instances
SuppressUnusedWarnings (GetFirstSym0 :: TyFun (First a6989586621679063580) a6989586621679063580 -> Type) Source # | |
Defined in Data.Singletons.Prelude.Semigroup.Internal suppressUnusedWarnings :: () Source # | |
type Apply (GetFirstSym0 :: TyFun (First a) a -> Type) (a6989586621679820176 :: First a) Source # | |
Defined in Data.Singletons.Prelude.Semigroup.Internal |
type GetFirstSym1 (a6989586621679820176 :: First a6989586621679063580) = GetFirst a6989586621679820176 Source #
data LastSym0 :: forall (a6989586621679063586 :: Type). (~>) a6989586621679063586 (Last (a6989586621679063586 :: Type)) Source #
Instances
SingI (LastSym0 :: TyFun a (Last a) -> Type) Source # | |
SuppressUnusedWarnings (LastSym0 :: TyFun a6989586621679063586 (Last a6989586621679063586) -> Type) Source # | |
Defined in Data.Singletons.Prelude.Semigroup.Internal suppressUnusedWarnings :: () Source # | |
type Apply (LastSym0 :: TyFun a (Last a) -> Type) (t6989586621679820196 :: a) Source # | |
data GetLastSym0 :: forall a6989586621679063586. (~>) (Last a6989586621679063586) a6989586621679063586 Source #
Instances
SuppressUnusedWarnings (GetLastSym0 :: TyFun (Last a6989586621679063586) a6989586621679063586 -> Type) Source # | |
Defined in Data.Singletons.Prelude.Semigroup.Internal suppressUnusedWarnings :: () Source # | |
type Apply (GetLastSym0 :: TyFun (Last a) a -> Type) (a6989586621679820193 :: Last a) Source # | |
Defined in Data.Singletons.Prelude.Semigroup.Internal |
type GetLastSym1 (a6989586621679820193 :: Last a6989586621679063586) = GetLast a6989586621679820193 Source #
data WrapMonoidSym0 :: forall (m6989586621679063592 :: Type). (~>) m6989586621679063592 (WrappedMonoid (m6989586621679063592 :: Type)) Source #
Instances
SingI (WrapMonoidSym0 :: TyFun m (WrappedMonoid m) -> Type) Source # | |
Defined in Data.Singletons.Prelude.Semigroup.Internal | |
SuppressUnusedWarnings (WrapMonoidSym0 :: TyFun m6989586621679063592 (WrappedMonoid m6989586621679063592) -> Type) Source # | |
Defined in Data.Singletons.Prelude.Semigroup.Internal suppressUnusedWarnings :: () Source # | |
type Apply (WrapMonoidSym0 :: TyFun m (WrappedMonoid m) -> Type) (t6989586621679820213 :: m) Source # | |
Defined in Data.Singletons.Prelude.Semigroup.Internal type Apply (WrapMonoidSym0 :: TyFun m (WrappedMonoid m) -> Type) (t6989586621679820213 :: m) = WrapMonoid t6989586621679820213 |
type WrapMonoidSym1 (t6989586621679820213 :: m6989586621679063592) = WrapMonoid t6989586621679820213 Source #
data UnwrapMonoidSym0 :: forall m6989586621679063592. (~>) (WrappedMonoid m6989586621679063592) m6989586621679063592 Source #
Instances
SuppressUnusedWarnings (UnwrapMonoidSym0 :: TyFun (WrappedMonoid m6989586621679063592) m6989586621679063592 -> Type) Source # | |
Defined in Data.Singletons.Prelude.Semigroup.Internal suppressUnusedWarnings :: () Source # | |
type Apply (UnwrapMonoidSym0 :: TyFun (WrappedMonoid m) m -> Type) (a6989586621679820210 :: WrappedMonoid m) Source # | |
Defined in Data.Singletons.Prelude.Semigroup.Internal type Apply (UnwrapMonoidSym0 :: TyFun (WrappedMonoid m) m -> Type) (a6989586621679820210 :: WrappedMonoid m) |
type UnwrapMonoidSym1 (a6989586621679820210 :: WrappedMonoid m6989586621679063592) = UnwrapMonoid a6989586621679820210 Source #
data DualSym0 :: forall (a6989586621679086865 :: Type). (~>) a6989586621679086865 (Dual (a6989586621679086865 :: Type)) Source #
Instances
SingI (DualSym0 :: TyFun a (Dual a) -> Type) Source # | |
SuppressUnusedWarnings (DualSym0 :: TyFun a6989586621679086865 (Dual a6989586621679086865) -> Type) Source # | |
Defined in Data.Singletons.Prelude.Semigroup.Internal suppressUnusedWarnings :: () Source # | |
type Apply (DualSym0 :: TyFun a (Dual a) -> Type) (t6989586621679820066 :: a) Source # | |
data GetDualSym0 :: forall a6989586621679086865. (~>) (Dual a6989586621679086865) a6989586621679086865 Source #
Instances
SuppressUnusedWarnings (GetDualSym0 :: TyFun (Dual a6989586621679086865) a6989586621679086865 -> Type) Source # | |
Defined in Data.Singletons.Prelude.Semigroup.Internal suppressUnusedWarnings :: () Source # | |
type Apply (GetDualSym0 :: TyFun (Dual a) a -> Type) (a6989586621679820063 :: Dual a) Source # | |
Defined in Data.Singletons.Prelude.Semigroup.Internal |
type GetDualSym1 (a6989586621679820063 :: Dual a6989586621679086865) = GetDual a6989586621679820063 Source #
data AllSym0 :: (~>) Bool All Source #
Instances
SingI AllSym0 Source # | |
SuppressUnusedWarnings AllSym0 Source # | |
Defined in Data.Singletons.Prelude.Semigroup.Internal suppressUnusedWarnings :: () Source # | |
type Apply AllSym0 (t6989586621679820080 :: Bool) Source # | |
Defined in Data.Singletons.Prelude.Semigroup.Internal |
data GetAllSym0 :: (~>) All Bool Source #
Instances
SuppressUnusedWarnings GetAllSym0 Source # | |
Defined in Data.Singletons.Prelude.Semigroup.Internal suppressUnusedWarnings :: () Source # | |
type Apply GetAllSym0 (a6989586621679820077 :: All) Source # | |
Defined in Data.Singletons.Prelude.Semigroup.Internal |
type GetAllSym1 (a6989586621679820077 :: All) = GetAll a6989586621679820077 Source #
data AnySym0 :: (~>) Bool Any Source #
Instances
SingI AnySym0 Source # | |
SuppressUnusedWarnings AnySym0 Source # | |
Defined in Data.Singletons.Prelude.Semigroup.Internal suppressUnusedWarnings :: () Source # | |
type Apply AnySym0 (t6989586621679820094 :: Bool) Source # | |
Defined in Data.Singletons.Prelude.Semigroup.Internal |
data GetAnySym0 :: (~>) Any Bool Source #
Instances
SuppressUnusedWarnings GetAnySym0 Source # | |
Defined in Data.Singletons.Prelude.Semigroup.Internal suppressUnusedWarnings :: () Source # | |
type Apply GetAnySym0 (a6989586621679820091 :: Any) Source # | |
Defined in Data.Singletons.Prelude.Semigroup.Internal |
type GetAnySym1 (a6989586621679820091 :: Any) = GetAny a6989586621679820091 Source #
data SumSym0 :: forall (a6989586621679086850 :: Type). (~>) a6989586621679086850 (Sum (a6989586621679086850 :: Type)) Source #
Instances
SingI (SumSym0 :: TyFun a (Sum a) -> Type) Source # | |
SuppressUnusedWarnings (SumSym0 :: TyFun a6989586621679086850 (Sum a6989586621679086850) -> Type) Source # | |
Defined in Data.Singletons.Prelude.Semigroup.Internal suppressUnusedWarnings :: () Source # | |
type Apply (SumSym0 :: TyFun a (Sum a) -> Type) (t6989586621679820111 :: a) Source # | |
data GetSumSym0 :: forall a6989586621679086850. (~>) (Sum a6989586621679086850) a6989586621679086850 Source #
Instances
SuppressUnusedWarnings (GetSumSym0 :: TyFun (Sum a6989586621679086850) a6989586621679086850 -> Type) Source # | |
Defined in Data.Singletons.Prelude.Semigroup.Internal suppressUnusedWarnings :: () Source # | |
type Apply (GetSumSym0 :: TyFun (Sum a) a -> Type) (a6989586621679820108 :: Sum a) Source # | |
Defined in Data.Singletons.Prelude.Semigroup.Internal |
type GetSumSym1 (a6989586621679820108 :: Sum a6989586621679086850) = GetSum a6989586621679820108 Source #
data ProductSym0 :: forall (a6989586621679086855 :: Type). (~>) a6989586621679086855 (Product (a6989586621679086855 :: Type)) Source #
Instances
SingI (ProductSym0 :: TyFun a (Product a) -> Type) Source # | |
Defined in Data.Singletons.Prelude.Semigroup.Internal sing :: Sing ProductSym0 Source # | |
SuppressUnusedWarnings (ProductSym0 :: TyFun a6989586621679086855 (Product a6989586621679086855) -> Type) Source # | |
Defined in Data.Singletons.Prelude.Semigroup.Internal suppressUnusedWarnings :: () Source # | |
type Apply (ProductSym0 :: TyFun a (Product a) -> Type) (t6989586621679820128 :: a) Source # | |
Defined in Data.Singletons.Prelude.Semigroup.Internal |
type ProductSym1 (t6989586621679820128 :: a6989586621679086855) = Product t6989586621679820128 Source #
data GetProductSym0 :: forall a6989586621679086855. (~>) (Product a6989586621679086855) a6989586621679086855 Source #
Instances
SuppressUnusedWarnings (GetProductSym0 :: TyFun (Product a6989586621679086855) a6989586621679086855 -> Type) Source # | |
Defined in Data.Singletons.Prelude.Semigroup.Internal suppressUnusedWarnings :: () Source # | |
type Apply (GetProductSym0 :: TyFun (Product a) a -> Type) (a6989586621679820125 :: Product a) Source # | |
Defined in Data.Singletons.Prelude.Semigroup.Internal type Apply (GetProductSym0 :: TyFun (Product a) a -> Type) (a6989586621679820125 :: Product a) = GetProduct a6989586621679820125 |
type GetProductSym1 (a6989586621679820125 :: Product a6989586621679086855) = GetProduct a6989586621679820125 Source #
data OptionSym0 :: forall (a6989586621679063598 :: Type). (~>) (Maybe a6989586621679063598) (Option (a6989586621679063598 :: Type)) Source #
Instances
SingI (OptionSym0 :: TyFun (Maybe a) (Option a) -> Type) Source # | |
Defined in Data.Singletons.Prelude.Semigroup.Internal sing :: Sing OptionSym0 Source # | |
SuppressUnusedWarnings (OptionSym0 :: TyFun (Maybe a6989586621679063598) (Option a6989586621679063598) -> Type) Source # | |
Defined in Data.Singletons.Prelude.Semigroup.Internal suppressUnusedWarnings :: () Source # | |
type Apply (OptionSym0 :: TyFun (Maybe a) (Option a) -> Type) (t6989586621679820049 :: Maybe a) Source # | |
Defined in Data.Singletons.Prelude.Semigroup.Internal |
type OptionSym1 (t6989586621679820049 :: Maybe a6989586621679063598) = Option t6989586621679820049 Source #
data GetOptionSym0 :: forall a6989586621679063598. (~>) (Option a6989586621679063598) (Maybe a6989586621679063598) Source #
Instances
SuppressUnusedWarnings (GetOptionSym0 :: TyFun (Option a6989586621679063598) (Maybe a6989586621679063598) -> Type) Source # | |
Defined in Data.Singletons.Prelude.Semigroup.Internal suppressUnusedWarnings :: () Source # | |
type Apply (GetOptionSym0 :: TyFun (Option a) (Maybe a) -> Type) (a6989586621679820046 :: Option a) Source # | |
Defined in Data.Singletons.Prelude.Semigroup.Internal |
type GetOptionSym1 (a6989586621679820046 :: Option a6989586621679063598) = GetOption a6989586621679820046 Source #
data ArgSym0 :: forall (a6989586621679063573 :: Type) (b6989586621679063574 :: Type). (~>) a6989586621679063573 ((~>) b6989586621679063574 (Arg (a6989586621679063573 :: Type) (b6989586621679063574 :: Type))) Source #
Instances
SingI (ArgSym0 :: TyFun a (b ~> Arg a b) -> Type) Source # | |
SuppressUnusedWarnings (ArgSym0 :: TyFun a6989586621679063573 (b6989586621679063574 ~> Arg a6989586621679063573 b6989586621679063574) -> Type) Source # | |
Defined in Data.Singletons.Prelude.Semigroup suppressUnusedWarnings :: () Source # | |
type Apply (ArgSym0 :: TyFun a6989586621679063573 (b6989586621679063574 ~> Arg a6989586621679063573 b6989586621679063574) -> Type) (t6989586621680866677 :: a6989586621679063573) Source # | |
Defined in Data.Singletons.Prelude.Semigroup type Apply (ArgSym0 :: TyFun a6989586621679063573 (b6989586621679063574 ~> Arg a6989586621679063573 b6989586621679063574) -> Type) (t6989586621680866677 :: a6989586621679063573) = (ArgSym1 t6989586621680866677 b6989586621679063574 :: TyFun b6989586621679063574 (Arg a6989586621679063573 b6989586621679063574) -> Type) |
data ArgSym1 (t6989586621680866677 :: (a6989586621679063573 :: Type)) :: forall (b6989586621679063574 :: Type). (~>) b6989586621679063574 (Arg (a6989586621679063573 :: Type) (b6989586621679063574 :: Type)) Source #
Instances
SingI d => SingI (ArgSym1 d b :: TyFun b (Arg a b) -> Type) Source # | |
SuppressUnusedWarnings (ArgSym1 t6989586621680866677 b6989586621679063574 :: TyFun b6989586621679063574 (Arg a6989586621679063573 b6989586621679063574) -> Type) Source # | |
Defined in Data.Singletons.Prelude.Semigroup suppressUnusedWarnings :: () Source # | |
type Apply (ArgSym1 t6989586621680866677 b :: TyFun b (Arg a b) -> Type) (t6989586621680866678 :: b) Source # | |
type ArgSym2 (t6989586621680866677 :: a6989586621679063573) (t6989586621680866678 :: b6989586621679063574) = Arg t6989586621680866677 t6989586621680866678 Source #