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 a6989586621679800518. (~>) a6989586621679800518 ((~>) a6989586621679800518 a6989586621679800518)
- data (<>@#@$$) (arg6989586621679801003 :: a6989586621679800518) :: (~>) a6989586621679800518 a6989586621679800518
- type (<>@#@$$$) (arg6989586621679801003 :: a6989586621679800518) (arg6989586621679801004 :: a6989586621679800518) = (<>) arg6989586621679801003 arg6989586621679801004
- data SconcatSym0 :: forall a6989586621679800518. (~>) (NonEmpty a6989586621679800518) a6989586621679800518
- type SconcatSym1 (arg6989586621679801007 :: NonEmpty a6989586621679800518) = Sconcat arg6989586621679801007
- data MinSym0 :: forall (a6989586621679061210 :: Type). (~>) a6989586621679061210 (Min (a6989586621679061210 :: Type))
- type MinSym1 (t6989586621679810306 :: a6989586621679061210) = Min t6989586621679810306
- data GetMinSym0 :: forall a6989586621679061210. (~>) (Min a6989586621679061210) a6989586621679061210
- type GetMinSym1 (a6989586621679810303 :: Min a6989586621679061210) = GetMin a6989586621679810303
- data MaxSym0 :: forall (a6989586621679061216 :: Type). (~>) a6989586621679061216 (Max (a6989586621679061216 :: Type))
- type MaxSym1 (t6989586621679810323 :: a6989586621679061216) = Max t6989586621679810323
- data GetMaxSym0 :: forall a6989586621679061216. (~>) (Max a6989586621679061216) a6989586621679061216
- type GetMaxSym1 (a6989586621679810320 :: Max a6989586621679061216) = GetMax a6989586621679810320
- data FirstSym0 :: forall (a6989586621679061230 :: Type). (~>) a6989586621679061230 (First (a6989586621679061230 :: Type))
- type FirstSym1 (t6989586621679810340 :: a6989586621679061230) = First t6989586621679810340
- data GetFirstSym0 :: forall a6989586621679061230. (~>) (First a6989586621679061230) a6989586621679061230
- type GetFirstSym1 (a6989586621679810337 :: First a6989586621679061230) = GetFirst a6989586621679810337
- data LastSym0 :: forall (a6989586621679061236 :: Type). (~>) a6989586621679061236 (Last (a6989586621679061236 :: Type))
- type LastSym1 (t6989586621679810357 :: a6989586621679061236) = Last t6989586621679810357
- data GetLastSym0 :: forall a6989586621679061236. (~>) (Last a6989586621679061236) a6989586621679061236
- type GetLastSym1 (a6989586621679810354 :: Last a6989586621679061236) = GetLast a6989586621679810354
- data WrapMonoidSym0 :: forall (m6989586621679061242 :: Type). (~>) m6989586621679061242 (WrappedMonoid (m6989586621679061242 :: Type))
- type WrapMonoidSym1 (t6989586621679810374 :: m6989586621679061242) = WrapMonoid t6989586621679810374
- data UnwrapMonoidSym0 :: forall m6989586621679061242. (~>) (WrappedMonoid m6989586621679061242) m6989586621679061242
- type UnwrapMonoidSym1 (a6989586621679810371 :: WrappedMonoid m6989586621679061242) = UnwrapMonoid a6989586621679810371
- data DualSym0 :: forall (a6989586621679081576 :: Type). (~>) a6989586621679081576 (Dual (a6989586621679081576 :: Type))
- type DualSym1 (t6989586621679810227 :: a6989586621679081576) = Dual t6989586621679810227
- data GetDualSym0 :: forall a6989586621679081576. (~>) (Dual a6989586621679081576) a6989586621679081576
- type GetDualSym1 (a6989586621679810224 :: Dual a6989586621679081576) = GetDual a6989586621679810224
- data AllSym0 :: (~>) Bool All
- type AllSym1 (t6989586621679810241 :: Bool) = All t6989586621679810241
- data GetAllSym0 :: (~>) All Bool
- type GetAllSym1 (a6989586621679810238 :: All) = GetAll a6989586621679810238
- data AnySym0 :: (~>) Bool Any
- type AnySym1 (t6989586621679810255 :: Bool) = Any t6989586621679810255
- data GetAnySym0 :: (~>) Any Bool
- type GetAnySym1 (a6989586621679810252 :: Any) = GetAny a6989586621679810252
- data SumSym0 :: forall (a6989586621679081561 :: Type). (~>) a6989586621679081561 (Sum (a6989586621679081561 :: Type))
- type SumSym1 (t6989586621679810272 :: a6989586621679081561) = Sum t6989586621679810272
- data GetSumSym0 :: forall a6989586621679081561. (~>) (Sum a6989586621679081561) a6989586621679081561
- type GetSumSym1 (a6989586621679810269 :: Sum a6989586621679081561) = GetSum a6989586621679810269
- data ProductSym0 :: forall (a6989586621679081566 :: Type). (~>) a6989586621679081566 (Product (a6989586621679081566 :: Type))
- type ProductSym1 (t6989586621679810289 :: a6989586621679081566) = Product t6989586621679810289
- data GetProductSym0 :: forall a6989586621679081566. (~>) (Product a6989586621679081566) a6989586621679081566
- type GetProductSym1 (a6989586621679810286 :: Product a6989586621679081566) = GetProduct a6989586621679810286
- data OptionSym0 :: forall (a6989586621679061248 :: Type). (~>) (Maybe a6989586621679061248) (Option (a6989586621679061248 :: Type))
- type OptionSym1 (t6989586621679810210 :: Maybe a6989586621679061248) = Option t6989586621679810210
- data GetOptionSym0 :: forall a6989586621679061248. (~>) (Option a6989586621679061248) (Maybe a6989586621679061248)
- type GetOptionSym1 (a6989586621679810207 :: Option a6989586621679061248) = GetOption a6989586621679810207
- data ArgSym0 :: forall (a6989586621679061223 :: Type) (b6989586621679061224 :: Type). (~>) a6989586621679061223 ((~>) b6989586621679061224 (Arg (a6989586621679061223 :: Type) (b6989586621679061224 :: Type)))
- data ArgSym1 (t6989586621680850272 :: (a6989586621679061223 :: Type)) :: forall (b6989586621679061224 :: Type). (~>) b6989586621679061224 (Arg (a6989586621679061223 :: Type) (b6989586621679061224 :: Type))
- type ArgSym2 (t6989586621680850272 :: a6989586621679061223) (t6989586621680850273 :: b6989586621679061224) = Arg t6989586621680850272 t6989586621680850273
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_6989586621679801025Sym0 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 a6989586621679800518. (~>) a6989586621679800518 ((~>) a6989586621679800518 a6989586621679800518) infixr 6 Source #
Instances
SSemigroup a => SingI ((<>@#@$) :: TyFun a (a ~> a) -> Type) Source # | |
SuppressUnusedWarnings ((<>@#@$) :: TyFun a6989586621679800518 (a6989586621679800518 ~> a6989586621679800518) -> Type) Source # | |
Defined in Data.Singletons.Prelude.Semigroup.Internal suppressUnusedWarnings :: () Source # | |
type Apply ((<>@#@$) :: TyFun a6989586621679800518 (a6989586621679800518 ~> a6989586621679800518) -> Type) (arg6989586621679801003 :: a6989586621679800518) Source # | |
data (<>@#@$$) (arg6989586621679801003 :: a6989586621679800518) :: (~>) a6989586621679800518 a6989586621679800518 infixr 6 Source #
Instances
(SSemigroup a, SingI d) => SingI ((<>@#@$$) d :: TyFun a a -> Type) Source # | |
SuppressUnusedWarnings ((<>@#@$$) arg6989586621679801003 :: TyFun a6989586621679800518 a6989586621679800518 -> Type) Source # | |
Defined in Data.Singletons.Prelude.Semigroup.Internal suppressUnusedWarnings :: () Source # | |
type Apply ((<>@#@$$) arg6989586621679801003 :: TyFun a a -> Type) (arg6989586621679801004 :: a) Source # | |
type (<>@#@$$$) (arg6989586621679801003 :: a6989586621679800518) (arg6989586621679801004 :: a6989586621679800518) = (<>) arg6989586621679801003 arg6989586621679801004 Source #
data SconcatSym0 :: forall a6989586621679800518. (~>) (NonEmpty a6989586621679800518) a6989586621679800518 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 a6989586621679800518) a6989586621679800518 -> Type) Source # | |
Defined in Data.Singletons.Prelude.Semigroup.Internal suppressUnusedWarnings :: () Source # | |
type Apply (SconcatSym0 :: TyFun (NonEmpty a) a -> Type) (arg6989586621679801007 :: NonEmpty a) Source # | |
Defined in Data.Singletons.Prelude.Semigroup.Internal |
type SconcatSym1 (arg6989586621679801007 :: NonEmpty a6989586621679800518) = Sconcat arg6989586621679801007 Source #
data MinSym0 :: forall (a6989586621679061210 :: Type). (~>) a6989586621679061210 (Min (a6989586621679061210 :: Type)) Source #
Instances
SingI (MinSym0 :: TyFun a (Min a) -> Type) Source # | |
SuppressUnusedWarnings (MinSym0 :: TyFun a6989586621679061210 (Min a6989586621679061210) -> Type) Source # | |
Defined in Data.Singletons.Prelude.Semigroup.Internal suppressUnusedWarnings :: () Source # | |
type Apply (MinSym0 :: TyFun a (Min a) -> Type) (t6989586621679810306 :: a) Source # | |
data GetMinSym0 :: forall a6989586621679061210. (~>) (Min a6989586621679061210) a6989586621679061210 Source #
Instances
SuppressUnusedWarnings (GetMinSym0 :: TyFun (Min a6989586621679061210) a6989586621679061210 -> Type) Source # | |
Defined in Data.Singletons.Prelude.Semigroup.Internal suppressUnusedWarnings :: () Source # | |
type Apply (GetMinSym0 :: TyFun (Min a) a -> Type) (a6989586621679810303 :: Min a) Source # | |
Defined in Data.Singletons.Prelude.Semigroup.Internal |
type GetMinSym1 (a6989586621679810303 :: Min a6989586621679061210) = GetMin a6989586621679810303 Source #
data MaxSym0 :: forall (a6989586621679061216 :: Type). (~>) a6989586621679061216 (Max (a6989586621679061216 :: Type)) Source #
Instances
SingI (MaxSym0 :: TyFun a (Max a) -> Type) Source # | |
SuppressUnusedWarnings (MaxSym0 :: TyFun a6989586621679061216 (Max a6989586621679061216) -> Type) Source # | |
Defined in Data.Singletons.Prelude.Semigroup.Internal suppressUnusedWarnings :: () Source # | |
type Apply (MaxSym0 :: TyFun a (Max a) -> Type) (t6989586621679810323 :: a) Source # | |
data GetMaxSym0 :: forall a6989586621679061216. (~>) (Max a6989586621679061216) a6989586621679061216 Source #
Instances
SuppressUnusedWarnings (GetMaxSym0 :: TyFun (Max a6989586621679061216) a6989586621679061216 -> Type) Source # | |
Defined in Data.Singletons.Prelude.Semigroup.Internal suppressUnusedWarnings :: () Source # | |
type Apply (GetMaxSym0 :: TyFun (Max a) a -> Type) (a6989586621679810320 :: Max a) Source # | |
Defined in Data.Singletons.Prelude.Semigroup.Internal |
type GetMaxSym1 (a6989586621679810320 :: Max a6989586621679061216) = GetMax a6989586621679810320 Source #
data FirstSym0 :: forall (a6989586621679061230 :: Type). (~>) a6989586621679061230 (First (a6989586621679061230 :: Type)) Source #
Instances
SingI (FirstSym0 :: TyFun a (First a) -> Type) Source # | |
SuppressUnusedWarnings (FirstSym0 :: TyFun a6989586621679061230 (First a6989586621679061230) -> Type) Source # | |
Defined in Data.Singletons.Prelude.Semigroup.Internal suppressUnusedWarnings :: () Source # | |
type Apply (FirstSym0 :: TyFun a (First a) -> Type) (t6989586621679810340 :: a) Source # | |
data GetFirstSym0 :: forall a6989586621679061230. (~>) (First a6989586621679061230) a6989586621679061230 Source #
Instances
SuppressUnusedWarnings (GetFirstSym0 :: TyFun (First a6989586621679061230) a6989586621679061230 -> Type) Source # | |
Defined in Data.Singletons.Prelude.Semigroup.Internal suppressUnusedWarnings :: () Source # | |
type Apply (GetFirstSym0 :: TyFun (First a) a -> Type) (a6989586621679810337 :: First a) Source # | |
Defined in Data.Singletons.Prelude.Semigroup.Internal |
type GetFirstSym1 (a6989586621679810337 :: First a6989586621679061230) = GetFirst a6989586621679810337 Source #
data LastSym0 :: forall (a6989586621679061236 :: Type). (~>) a6989586621679061236 (Last (a6989586621679061236 :: Type)) Source #
Instances
SingI (LastSym0 :: TyFun a (Last a) -> Type) Source # | |
SuppressUnusedWarnings (LastSym0 :: TyFun a6989586621679061236 (Last a6989586621679061236) -> Type) Source # | |
Defined in Data.Singletons.Prelude.Semigroup.Internal suppressUnusedWarnings :: () Source # | |
type Apply (LastSym0 :: TyFun a (Last a) -> Type) (t6989586621679810357 :: a) Source # | |
data GetLastSym0 :: forall a6989586621679061236. (~>) (Last a6989586621679061236) a6989586621679061236 Source #
Instances
SuppressUnusedWarnings (GetLastSym0 :: TyFun (Last a6989586621679061236) a6989586621679061236 -> Type) Source # | |
Defined in Data.Singletons.Prelude.Semigroup.Internal suppressUnusedWarnings :: () Source # | |
type Apply (GetLastSym0 :: TyFun (Last a) a -> Type) (a6989586621679810354 :: Last a) Source # | |
Defined in Data.Singletons.Prelude.Semigroup.Internal |
type GetLastSym1 (a6989586621679810354 :: Last a6989586621679061236) = GetLast a6989586621679810354 Source #
data WrapMonoidSym0 :: forall (m6989586621679061242 :: Type). (~>) m6989586621679061242 (WrappedMonoid (m6989586621679061242 :: Type)) Source #
Instances
SingI (WrapMonoidSym0 :: TyFun m (WrappedMonoid m) -> Type) Source # | |
Defined in Data.Singletons.Prelude.Semigroup.Internal | |
SuppressUnusedWarnings (WrapMonoidSym0 :: TyFun m6989586621679061242 (WrappedMonoid m6989586621679061242) -> Type) Source # | |
Defined in Data.Singletons.Prelude.Semigroup.Internal suppressUnusedWarnings :: () Source # | |
type Apply (WrapMonoidSym0 :: TyFun m (WrappedMonoid m) -> Type) (t6989586621679810374 :: m) Source # | |
Defined in Data.Singletons.Prelude.Semigroup.Internal type Apply (WrapMonoidSym0 :: TyFun m (WrappedMonoid m) -> Type) (t6989586621679810374 :: m) = WrapMonoid t6989586621679810374 |
type WrapMonoidSym1 (t6989586621679810374 :: m6989586621679061242) = WrapMonoid t6989586621679810374 Source #
data UnwrapMonoidSym0 :: forall m6989586621679061242. (~>) (WrappedMonoid m6989586621679061242) m6989586621679061242 Source #
Instances
SuppressUnusedWarnings (UnwrapMonoidSym0 :: TyFun (WrappedMonoid m6989586621679061242) m6989586621679061242 -> Type) Source # | |
Defined in Data.Singletons.Prelude.Semigroup.Internal suppressUnusedWarnings :: () Source # | |
type Apply (UnwrapMonoidSym0 :: TyFun (WrappedMonoid m) m -> Type) (a6989586621679810371 :: WrappedMonoid m) Source # | |
Defined in Data.Singletons.Prelude.Semigroup.Internal type Apply (UnwrapMonoidSym0 :: TyFun (WrappedMonoid m) m -> Type) (a6989586621679810371 :: WrappedMonoid m) |
type UnwrapMonoidSym1 (a6989586621679810371 :: WrappedMonoid m6989586621679061242) = UnwrapMonoid a6989586621679810371 Source #
data DualSym0 :: forall (a6989586621679081576 :: Type). (~>) a6989586621679081576 (Dual (a6989586621679081576 :: Type)) Source #
Instances
SingI (DualSym0 :: TyFun a (Dual a) -> Type) Source # | |
SuppressUnusedWarnings (DualSym0 :: TyFun a6989586621679081576 (Dual a6989586621679081576) -> Type) Source # | |
Defined in Data.Singletons.Prelude.Semigroup.Internal suppressUnusedWarnings :: () Source # | |
type Apply (DualSym0 :: TyFun a (Dual a) -> Type) (t6989586621679810227 :: a) Source # | |
data GetDualSym0 :: forall a6989586621679081576. (~>) (Dual a6989586621679081576) a6989586621679081576 Source #
Instances
SuppressUnusedWarnings (GetDualSym0 :: TyFun (Dual a6989586621679081576) a6989586621679081576 -> Type) Source # | |
Defined in Data.Singletons.Prelude.Semigroup.Internal suppressUnusedWarnings :: () Source # | |
type Apply (GetDualSym0 :: TyFun (Dual a) a -> Type) (a6989586621679810224 :: Dual a) Source # | |
Defined in Data.Singletons.Prelude.Semigroup.Internal |
type GetDualSym1 (a6989586621679810224 :: Dual a6989586621679081576) = GetDual a6989586621679810224 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 (t6989586621679810241 :: 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 (a6989586621679810238 :: All) Source # | |
Defined in Data.Singletons.Prelude.Semigroup.Internal |
type GetAllSym1 (a6989586621679810238 :: All) = GetAll a6989586621679810238 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 (t6989586621679810255 :: 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 (a6989586621679810252 :: Any) Source # | |
Defined in Data.Singletons.Prelude.Semigroup.Internal |
type GetAnySym1 (a6989586621679810252 :: Any) = GetAny a6989586621679810252 Source #
data SumSym0 :: forall (a6989586621679081561 :: Type). (~>) a6989586621679081561 (Sum (a6989586621679081561 :: Type)) Source #
Instances
SingI (SumSym0 :: TyFun a (Sum a) -> Type) Source # | |
SuppressUnusedWarnings (SumSym0 :: TyFun a6989586621679081561 (Sum a6989586621679081561) -> Type) Source # | |
Defined in Data.Singletons.Prelude.Semigroup.Internal suppressUnusedWarnings :: () Source # | |
type Apply (SumSym0 :: TyFun a (Sum a) -> Type) (t6989586621679810272 :: a) Source # | |
data GetSumSym0 :: forall a6989586621679081561. (~>) (Sum a6989586621679081561) a6989586621679081561 Source #
Instances
SuppressUnusedWarnings (GetSumSym0 :: TyFun (Sum a6989586621679081561) a6989586621679081561 -> Type) Source # | |
Defined in Data.Singletons.Prelude.Semigroup.Internal suppressUnusedWarnings :: () Source # | |
type Apply (GetSumSym0 :: TyFun (Sum a) a -> Type) (a6989586621679810269 :: Sum a) Source # | |
Defined in Data.Singletons.Prelude.Semigroup.Internal |
type GetSumSym1 (a6989586621679810269 :: Sum a6989586621679081561) = GetSum a6989586621679810269 Source #
data ProductSym0 :: forall (a6989586621679081566 :: Type). (~>) a6989586621679081566 (Product (a6989586621679081566 :: 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 a6989586621679081566 (Product a6989586621679081566) -> Type) Source # | |
Defined in Data.Singletons.Prelude.Semigroup.Internal suppressUnusedWarnings :: () Source # | |
type Apply (ProductSym0 :: TyFun a (Product a) -> Type) (t6989586621679810289 :: a) Source # | |
Defined in Data.Singletons.Prelude.Semigroup.Internal |
type ProductSym1 (t6989586621679810289 :: a6989586621679081566) = Product t6989586621679810289 Source #
data GetProductSym0 :: forall a6989586621679081566. (~>) (Product a6989586621679081566) a6989586621679081566 Source #
Instances
SuppressUnusedWarnings (GetProductSym0 :: TyFun (Product a6989586621679081566) a6989586621679081566 -> Type) Source # | |
Defined in Data.Singletons.Prelude.Semigroup.Internal suppressUnusedWarnings :: () Source # | |
type Apply (GetProductSym0 :: TyFun (Product a) a -> Type) (a6989586621679810286 :: Product a) Source # | |
Defined in Data.Singletons.Prelude.Semigroup.Internal type Apply (GetProductSym0 :: TyFun (Product a) a -> Type) (a6989586621679810286 :: Product a) = GetProduct a6989586621679810286 |
type GetProductSym1 (a6989586621679810286 :: Product a6989586621679081566) = GetProduct a6989586621679810286 Source #
data OptionSym0 :: forall (a6989586621679061248 :: Type). (~>) (Maybe a6989586621679061248) (Option (a6989586621679061248 :: 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 a6989586621679061248) (Option a6989586621679061248) -> Type) Source # | |
Defined in Data.Singletons.Prelude.Semigroup.Internal suppressUnusedWarnings :: () Source # | |
type Apply (OptionSym0 :: TyFun (Maybe a) (Option a) -> Type) (t6989586621679810210 :: Maybe a) Source # | |
Defined in Data.Singletons.Prelude.Semigroup.Internal |
type OptionSym1 (t6989586621679810210 :: Maybe a6989586621679061248) = Option t6989586621679810210 Source #
data GetOptionSym0 :: forall a6989586621679061248. (~>) (Option a6989586621679061248) (Maybe a6989586621679061248) Source #
Instances
SuppressUnusedWarnings (GetOptionSym0 :: TyFun (Option a6989586621679061248) (Maybe a6989586621679061248) -> Type) Source # | |
Defined in Data.Singletons.Prelude.Semigroup.Internal suppressUnusedWarnings :: () Source # | |
type Apply (GetOptionSym0 :: TyFun (Option a) (Maybe a) -> Type) (a6989586621679810207 :: Option a) Source # | |
Defined in Data.Singletons.Prelude.Semigroup.Internal |
type GetOptionSym1 (a6989586621679810207 :: Option a6989586621679061248) = GetOption a6989586621679810207 Source #
data ArgSym0 :: forall (a6989586621679061223 :: Type) (b6989586621679061224 :: Type). (~>) a6989586621679061223 ((~>) b6989586621679061224 (Arg (a6989586621679061223 :: Type) (b6989586621679061224 :: Type))) Source #
Instances
SingI (ArgSym0 :: TyFun a (b ~> Arg a b) -> Type) Source # | |
SuppressUnusedWarnings (ArgSym0 :: TyFun a6989586621679061223 (b6989586621679061224 ~> Arg a6989586621679061223 b6989586621679061224) -> Type) Source # | |
Defined in Data.Singletons.Prelude.Semigroup suppressUnusedWarnings :: () Source # | |
type Apply (ArgSym0 :: TyFun a6989586621679061223 (b6989586621679061224 ~> Arg a6989586621679061223 b6989586621679061224) -> Type) (t6989586621680850272 :: a6989586621679061223) Source # | |
Defined in Data.Singletons.Prelude.Semigroup type Apply (ArgSym0 :: TyFun a6989586621679061223 (b6989586621679061224 ~> Arg a6989586621679061223 b6989586621679061224) -> Type) (t6989586621680850272 :: a6989586621679061223) = (ArgSym1 t6989586621680850272 b6989586621679061224 :: TyFun b6989586621679061224 (Arg a6989586621679061223 b6989586621679061224) -> Type) |
data ArgSym1 (t6989586621680850272 :: (a6989586621679061223 :: Type)) :: forall (b6989586621679061224 :: Type). (~>) b6989586621679061224 (Arg (a6989586621679061223 :: Type) (b6989586621679061224 :: Type)) Source #
Instances
SingI d => SingI (ArgSym1 d b :: TyFun b (Arg a b) -> Type) Source # | |
SuppressUnusedWarnings (ArgSym1 t6989586621680850272 b6989586621679061224 :: TyFun b6989586621679061224 (Arg a6989586621679061223 b6989586621679061224) -> Type) Source # | |
Defined in Data.Singletons.Prelude.Semigroup suppressUnusedWarnings :: () Source # | |
type Apply (ArgSym1 t6989586621680850272 b :: TyFun b (Arg a b) -> Type) (t6989586621680850273 :: b) Source # | |
type ArgSym2 (t6989586621680850272 :: a6989586621679061223) (t6989586621680850273 :: b6989586621679061224) = Arg t6989586621680850272 t6989586621680850273 Source #