| Copyright | (C) 2017 Ryan Scott |
|---|---|
| License | BSD-style (see LICENSE) |
| Maintainer | Ryan Scott |
| Stability | experimental |
| Portability | non-portable |
| Safe Haskell | None |
| Language | Haskell2010 |
Data.Singletons.Prelude.Void
Description
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
- data SVoid z
- type family Absurd a where ...
- sAbsurd :: forall a (t :: Void). Sing t -> Sing (Apply AbsurdSym0 t :: a)
- data AbsurdSym0 a6989586621679359469
- type AbsurdSym1 (a6989586621679359469 :: Void) = Absurd a6989586621679359469 :: a
The Void singleton
The singleton kind-indexed type family.
Instances
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 a6989586621679359469 Source #
Instances
| SingI (AbsurdSym0 :: TyFun Void a -> Type) Source # | |
Defined in Data.Singletons.Prelude.Void Methods sing :: Sing AbsurdSym0 Source # | |
| SuppressUnusedWarnings (AbsurdSym0 :: TyFun Void a -> Type) Source # | |
Defined in Data.Singletons.Prelude.Void Methods suppressUnusedWarnings :: () Source # | |
| type Apply (AbsurdSym0 :: TyFun Void k2 -> Type) (a6989586621679359469 :: Void) Source # | |
Defined in Data.Singletons.Prelude.Void type Apply (AbsurdSym0 :: TyFun Void k2 -> Type) (a6989586621679359469 :: Void) = AbsurdSym1 a6989586621679359469 :: k2 | |
type AbsurdSym1 (a6989586621679359469 :: Void) = Absurd a6989586621679359469 :: a Source #