Copyright | (C) 2017 Ryan Scott |
---|---|
License | BSD-style (see LICENSE) |
Maintainer | Ryan Scott |
Stability | experimental |
Portability | non-portable |
Safe Haskell | None |
Language | Haskell2010 |
Defines functions and datatypes relating to the singleton for Void
,
including a singleton version of all the definitions in Data.Void
.
Because many of these definitions are produced by Template Haskell,
it is not possible to create proper Haddock documentation. Please look
up the corresponding operation in Data.Void
. Also, please excuse
the apparent repeated variable names. This is due to an interaction
between Template Haskell and Haddock.
Synopsis
- type family Sing :: k -> Type
- data SVoid :: Void -> Type
- type family Absurd (a :: Void) :: a where ...
- sAbsurd :: forall a (t :: Void). Sing t -> Sing (Apply AbsurdSym0 t :: a)
- data AbsurdSym0 :: forall a6989586621679369444. (~>) Void a6989586621679369444
- type AbsurdSym1 (a6989586621679369447 :: Void) = Absurd a6989586621679369447
The Void
singleton
type family Sing :: k -> Type Source #
The singleton kind-indexed type family.
Instances
data SVoid :: Void -> Type Source #
Instances
TestCoercion SVoid Source # | |
Defined in Data.Singletons.Prelude.Instances | |
TestEquality SVoid Source # | |
Defined in Data.Singletons.Prelude.Instances | |
Show (SVoid z) Source # | |
Singletons from Data.Void
Defunctionalization symbols
data AbsurdSym0 :: forall a6989586621679369444. (~>) Void a6989586621679369444 Source #
Instances
SingI (AbsurdSym0 :: TyFun Void a -> Type) Source # | |
Defined in Data.Singletons.Prelude.Void sing :: Sing AbsurdSym0 Source # | |
SuppressUnusedWarnings (AbsurdSym0 :: TyFun Void a6989586621679369444 -> Type) Source # | |
Defined in Data.Singletons.Prelude.Void suppressUnusedWarnings :: () Source # | |
type Apply (AbsurdSym0 :: TyFun Void k2 -> Type) (a6989586621679369447 :: Void) Source # | |
Defined in Data.Singletons.Prelude.Void |
type AbsurdSym1 (a6989586621679369447 :: Void) = Absurd a6989586621679369447 Source #