Copyright | (C) 2018 Ryan Scott |
---|---|
License | BSD-style (see LICENSE) |
Maintainer | Richard Eisenberg (rae@cs.brynmawr.edu) |
Stability | experimental |
Portability | non-portable |
Safe Haskell | None |
Language | Haskell2010 |
Exports the promoted and singled versions of the Identity
data type.
Synopsis
- type family Sing :: k -> Type
- data SIdentity :: forall a. Identity a -> Type where
- type family RunIdentity (a :: Identity (a :: Type)) :: a where ...
- data IdentitySym0 :: forall (a6989586621679091740 :: Type). (~>) a6989586621679091740 (Identity (a6989586621679091740 :: Type))
- type IdentitySym1 (t6989586621679315646 :: a6989586621679091740) = 'Identity t6989586621679315646
- data RunIdentitySym0 :: forall (a6989586621679091740 :: Type). (~>) (Identity (a6989586621679091740 :: Type)) a6989586621679091740
- type RunIdentitySym1 (a6989586621679315643 :: Identity (a6989586621679091740 :: Type)) = RunIdentity a6989586621679315643
The Identity
singleton
type family Sing :: k -> Type Source #
The singleton kind-indexed type family.
Instances
data SIdentity :: forall a. Identity a -> Type where Source #
SIdentity | |
|
type family RunIdentity (a :: Identity (a :: Type)) :: a where ... Source #
RunIdentity ('Identity field) = field |
Defunctionalization symbols
data IdentitySym0 :: forall (a6989586621679091740 :: Type). (~>) a6989586621679091740 (Identity (a6989586621679091740 :: Type)) Source #
Instances
SingI (IdentitySym0 :: TyFun a (Identity a) -> Type) Source # | |
Defined in Data.Singletons.Prelude.Instances sing :: Sing IdentitySym0 Source # | |
SuppressUnusedWarnings (IdentitySym0 :: TyFun a6989586621679091740 (Identity a6989586621679091740) -> Type) Source # | |
Defined in Data.Singletons.Prelude.Instances suppressUnusedWarnings :: () Source # | |
type Apply (IdentitySym0 :: TyFun a (Identity a) -> Type) (t6989586621679315646 :: a) Source # | |
Defined in Data.Singletons.Prelude.Instances |
type IdentitySym1 (t6989586621679315646 :: a6989586621679091740) = 'Identity t6989586621679315646 Source #
data RunIdentitySym0 :: forall (a6989586621679091740 :: Type). (~>) (Identity (a6989586621679091740 :: Type)) a6989586621679091740 Source #
Instances
SuppressUnusedWarnings (RunIdentitySym0 :: TyFun (Identity a6989586621679091740) a6989586621679091740 -> Type) Source # | |
Defined in Data.Singletons.Prelude.Instances suppressUnusedWarnings :: () Source # | |
type Apply (RunIdentitySym0 :: TyFun (Identity a) a -> Type) (a6989586621679315643 :: Identity a) Source # | |
Defined in Data.Singletons.Prelude.Instances type Apply (RunIdentitySym0 :: TyFun (Identity a) a -> Type) (a6989586621679315643 :: Identity a) = RunIdentity a6989586621679315643 |
type RunIdentitySym1 (a6989586621679315643 :: Identity (a6989586621679091740 :: Type)) = RunIdentity a6989586621679315643 Source #