Copyright | (C) 2014 Richard Eisenberg |
---|---|
License | BSD-style (see LICENSE) |
Maintainer | Ryan Scott |
Stability | experimental |
Portability | non-portable |
Safe Haskell | None |
Language | GHC2021 |
Defines and exports singletons useful for the Natural, Symbol, and Char kinds.
Synopsis
- data Natural
- data Symbol
- data Char
- type family Sing :: k -> Type
- data SNat (n :: Nat)
- pattern SNat :: () => KnownNat n => SNat n
- data SSymbol (s :: Symbol)
- pattern SSymbol :: () => KnownSymbol s => SSymbol s
- pattern SSym :: () => KnownSymbol s => SSymbol s
- data SChar (s :: Char)
- pattern SChar :: () => KnownChar c => SChar c
- withKnownNat :: forall (n :: Nat) r. SNat n -> (KnownNat n => r) -> r
- withKnownSymbol :: forall (s :: Symbol) r. SSymbol s -> (KnownSymbol s => r) -> r
- withKnownChar :: forall (c :: Char) r. SChar c -> (KnownChar c => r) -> r
- type family Error (str :: Symbol) :: a where ...
- sError :: forall (str :: Symbol) a. HasCallStack => Sing str -> a
- type family ErrorWithoutStackTrace (str :: Symbol) :: a where ...
- sErrorWithoutStackTrace :: forall (str :: Symbol) a. Sing str -> a
- type family Undefined :: a where ...
- sUndefined :: HasCallStack => a
- class KnownNat (n :: Nat)
- natVal :: forall (n :: Nat) proxy. KnownNat n => proxy n -> Natural
- class KnownSymbol (n :: Symbol)
- symbolVal :: forall (n :: Symbol) proxy. KnownSymbol n => proxy n -> String
- class KnownChar (n :: Char)
- charVal :: forall (n :: Char) proxy. KnownChar n => proxy n -> Char
- type family (a :: Natural) ^ (b :: Natural) :: Natural where ...
- (%^) :: forall (a :: Natural) (b :: Natural). Sing a -> Sing b -> Sing (a ^ b)
- type (<=?) (m :: k) (n :: k) = OrdCond (Compare m n) 'True 'True 'False
- (%<=?) :: forall (a :: Natural) (b :: Natural). Sing a -> Sing b -> Sing (a <=? b)
- type family Log2 (a :: Natural) :: Natural where ...
- sLog2 :: forall (x :: Natural). Sing x -> Sing (Log2 x)
- type family Div (a :: Natural) (b :: Natural) :: Natural where ...
- sDiv :: forall (x :: Natural) (y :: Natural). Sing x -> Sing y -> Sing (Div x y)
- type family Mod (a :: Natural) (b :: Natural) :: Natural where ...
- sMod :: forall (x :: Natural) (y :: Natural). Sing x -> Sing y -> Sing (Mod x y)
- type family DivMod (a :: Natural) (a1 :: Natural) :: (Natural, Natural) where ...
- sDivMod :: forall (x :: Natural) (y :: Natural). Sing x -> Sing y -> Sing (DivMod x y)
- type family Quot (a :: Natural) (a1 :: Natural) :: Natural where ...
- sQuot :: forall (x :: Natural) (y :: Natural). Sing x -> Sing y -> Sing (Quot x y)
- type family Rem (a :: Natural) (a1 :: Natural) :: Natural where ...
- sRem :: forall (x :: Natural) (y :: Natural). Sing x -> Sing y -> Sing (Rem x y)
- type family QuotRem (a :: Natural) (a1 :: Natural) :: (Natural, Natural) where ...
- sQuotRem :: forall (x :: Natural) (y :: Natural). Sing x -> Sing y -> Sing (QuotRem x y)
- consSymbol :: Char -> String -> String
- type family ConsSymbol (a :: Char) (b :: Symbol) :: Symbol where ...
- sConsSymbol :: forall (x :: Char) (y :: Symbol). Sing x -> Sing y -> Sing (ConsSymbol x y)
- unconsSymbol :: String -> Maybe (Char, String)
- type family UnconsSymbol (a :: Symbol) :: Maybe (Char, Symbol) where ...
- sUnconsSymbol :: forall (x :: Symbol). Sing x -> Sing (UnconsSymbol x)
- charToNat :: Char -> Natural
- type family CharToNat (a :: Char) :: Natural where ...
- sCharToNat :: forall (x :: Char). Sing x -> Sing (CharToNat x)
- natToChar :: Natural -> Char
- type family NatToChar (a :: Natural) :: Char where ...
- sNatToChar :: forall (x :: Natural). Sing x -> Sing (NatToChar x)
- data ErrorSym0 (a1 :: TyFun Symbol a)
- type family ErrorSym1 (a6989586621679555664 :: Symbol) :: a where ...
- data ErrorWithoutStackTraceSym0 (a1 :: TyFun Symbol a)
- type family ErrorWithoutStackTraceSym1 (a6989586621679555924 :: Symbol) :: a where ...
- type family UndefinedSym0 :: a where ...
- data KnownNatSym0 (a :: TyFun Nat Constraint)
- type family KnownNatSym1 (a6989586621679566098 :: Nat) where ...
- data KnownSymbolSym0 (a :: TyFun Symbol Constraint)
- type family KnownSymbolSym1 (a6989586621679566100 :: Symbol) where ...
- data KnownCharSym0 (a :: TyFun Char Constraint)
- type family KnownCharSym1 (a6989586621679566102 :: Char) where ...
- data (^@#@$) (a :: TyFun Natural (Natural ~> Natural))
- data (a6989586621679556329 :: Natural) ^@#@$$ (b :: TyFun Natural Natural)
- type family (a6989586621679556329 :: Natural) ^@#@$$$ (a6989586621679556330 :: Natural) :: Natural where ...
- data (<=?@#@$) (a :: TyFun k (k ~> Bool))
- data (a6989586621679556760 :: k) <=?@#@$$ (b :: TyFun k Bool)
- type family (a6989586621679556760 :: k) <=?@#@$$$ (a6989586621679556761 :: k) :: Bool where ...
- data Log2Sym0 (a :: TyFun Natural Natural)
- type family Log2Sym1 (a6989586621679566742 :: Natural) :: Natural where ...
- data DivSym0 (a :: TyFun Natural (Natural ~> Natural))
- data DivSym1 (a6989586621679566965 :: Natural) (b :: TyFun Natural Natural)
- type family DivSym2 (a6989586621679566965 :: Natural) (a6989586621679566966 :: Natural) :: Natural where ...
- data ModSym0 (a :: TyFun Natural (Natural ~> Natural))
- data ModSym1 (a6989586621679567401 :: Natural) (b :: TyFun Natural Natural)
- type family ModSym2 (a6989586621679567401 :: Natural) (a6989586621679567402 :: Natural) :: Natural where ...
- data DivModSym0 (a :: TyFun Natural (Natural ~> (Natural, Natural)))
- data DivModSym1 (a6989586621679568024 :: Natural) (b :: TyFun Natural (Natural, Natural))
- type family DivModSym2 (a6989586621679568024 :: Natural) (a6989586621679568025 :: Natural) :: (Natural, Natural) where ...
- data QuotSym0 (a :: TyFun Natural (Natural ~> Natural))
- data QuotSym1 (a6989586621679568006 :: Natural) (b :: TyFun Natural Natural)
- type family QuotSym2 (a6989586621679568006 :: Natural) (a6989586621679568007 :: Natural) :: Natural where ...
- data RemSym0 (a :: TyFun Natural (Natural ~> Natural))
- data RemSym1 (a6989586621679567995 :: Natural) (b :: TyFun Natural Natural)
- type family RemSym2 (a6989586621679567995 :: Natural) (a6989586621679567996 :: Natural) :: Natural where ...
- data QuotRemSym0 (a :: TyFun Natural (Natural ~> (Natural, Natural)))
- data QuotRemSym1 (a6989586621679568017 :: Natural) (b :: TyFun Natural (Natural, Natural))
- type family QuotRemSym2 (a6989586621679568017 :: Natural) (a6989586621679568018 :: Natural) :: (Natural, Natural) where ...
- data ConsSymbolSym0 (a :: TyFun Char (Symbol ~> Symbol))
- data ConsSymbolSym1 (a6989586621679569296 :: Char) (b :: TyFun Symbol Symbol)
- type family ConsSymbolSym2 (a6989586621679569296 :: Char) (a6989586621679569297 :: Symbol) :: Symbol where ...
- data UnconsSymbolSym0 (a :: TyFun Symbol (Maybe (Char, Symbol)))
- type family UnconsSymbolSym1 (a6989586621679569801 :: Symbol) :: Maybe (Char, Symbol) where ...
- data CharToNatSym0 (a :: TyFun Char Natural)
- type family CharToNatSym1 (a6989586621679570020 :: Char) :: Natural where ...
- data NatToCharSym0 (a :: TyFun Natural Char)
- type family NatToCharSym1 (a6989586621679570244 :: Natural) :: Char where ...
Documentation
Natural number
Invariant: numbers <= 0xffffffffffffffff use the NS
constructor
Instances
(Kind) This is the kind of type-level symbols.
Instances
IsString Symbol Source # | |||||||||||||||||||||||||||||
Defined in GHC.TypeLits.Singletons fromString :: String -> Symbol # | |||||||||||||||||||||||||||||
Monoid Symbol Source # | |||||||||||||||||||||||||||||
Semigroup Symbol Source # | |||||||||||||||||||||||||||||
SingKind Symbol | Since: base-4.9.0.0 | ||||||||||||||||||||||||||||
Defined in GHC.Generics
| |||||||||||||||||||||||||||||
Show Symbol Source # | |||||||||||||||||||||||||||||
Eq Symbol Source # | This bogus instance is helpful for people who want to define functions over Symbols that will only be used at the type level or as singletons. | ||||||||||||||||||||||||||||
Ord Symbol Source # | |||||||||||||||||||||||||||||
SingKind PErrorMessage Source # | |||||||||||||||||||||||||||||
Defined in Data.Singletons.Base.TypeError
fromSing :: forall (a :: PErrorMessage). Sing a -> Demote PErrorMessage # | |||||||||||||||||||||||||||||
SingKind Symbol Source # | |||||||||||||||||||||||||||||
SDecide Symbol Source # | |||||||||||||||||||||||||||||
PEq Symbol Source # | |||||||||||||||||||||||||||||
Defined in GHC.TypeLits.Singletons.Internal | |||||||||||||||||||||||||||||
SEq Symbol Source # | |||||||||||||||||||||||||||||
Defined in GHC.TypeLits.Singletons.Internal (%==) :: forall (t1 :: Symbol) (t2 :: Symbol). Sing t1 -> Sing t2 -> Sing (Apply (Apply ((==@#@$) :: TyFun Symbol (Symbol ~> Bool) -> Type) t1) t2) Source # (%/=) :: forall (t1 :: Symbol) (t2 :: Symbol). Sing t1 -> Sing t2 -> Sing (Apply (Apply ((/=@#@$) :: TyFun Symbol (Symbol ~> Bool) -> Type) t1) t2) Source # | |||||||||||||||||||||||||||||
PMonoid Symbol Source # | |||||||||||||||||||||||||||||
Defined in Data.Monoid.Singletons
| |||||||||||||||||||||||||||||
SMonoid Symbol Source # | |||||||||||||||||||||||||||||
Defined in Data.Monoid.Singletons sMempty :: Sing (MemptySym0 :: Symbol) Source # sMappend :: forall (t1 :: Symbol) (t2 :: Symbol). Sing t1 -> Sing t2 -> Sing (Apply (Apply (MappendSym0 :: TyFun Symbol (Symbol ~> Symbol) -> Type) t1) t2) Source # sMconcat :: forall (t :: [Symbol]). Sing t -> Sing (Apply (MconcatSym0 :: TyFun [Symbol] Symbol -> Type) t) Source # | |||||||||||||||||||||||||||||
POrd Symbol Source # | |||||||||||||||||||||||||||||
Defined in GHC.TypeLits.Singletons.Internal
| |||||||||||||||||||||||||||||
SOrd Symbol Source # | |||||||||||||||||||||||||||||
Defined in GHC.TypeLits.Singletons.Internal sCompare :: forall (t1 :: Symbol) (t2 :: Symbol). Sing t1 -> Sing t2 -> Sing (Apply (Apply (CompareSym0 :: TyFun Symbol (Symbol ~> Ordering) -> Type) t1) t2) Source # (%<) :: forall (t1 :: Symbol) (t2 :: Symbol). Sing t1 -> Sing t2 -> Sing (Apply (Apply ((<@#@$) :: TyFun Symbol (Symbol ~> Bool) -> Type) t1) t2) Source # (%<=) :: forall (t1 :: Symbol) (t2 :: Symbol). Sing t1 -> Sing t2 -> Sing (Apply (Apply ((<=@#@$) :: TyFun Symbol (Symbol ~> Bool) -> Type) t1) t2) Source # (%>) :: forall (t1 :: Symbol) (t2 :: Symbol). Sing t1 -> Sing t2 -> Sing (Apply (Apply ((>@#@$) :: TyFun Symbol (Symbol ~> Bool) -> Type) t1) t2) Source # (%>=) :: forall (t1 :: Symbol) (t2 :: Symbol). Sing t1 -> Sing t2 -> Sing (Apply (Apply ((>=@#@$) :: TyFun Symbol (Symbol ~> Bool) -> Type) t1) t2) Source # sMax :: forall (t1 :: Symbol) (t2 :: Symbol). Sing t1 -> Sing t2 -> Sing (Apply (Apply (MaxSym0 :: TyFun Symbol (Symbol ~> Symbol) -> Type) t1) t2) Source # sMin :: forall (t1 :: Symbol) (t2 :: Symbol). Sing t1 -> Sing t2 -> Sing (Apply (Apply (MinSym0 :: TyFun Symbol (Symbol ~> Symbol) -> Type) t1) t2) Source # | |||||||||||||||||||||||||||||
PSemigroup Symbol Source # | |||||||||||||||||||||||||||||
Defined in GHC.TypeLits.Singletons.Internal
| |||||||||||||||||||||||||||||
SSemigroup Symbol Source # | |||||||||||||||||||||||||||||
Defined in GHC.TypeLits.Singletons.Internal | |||||||||||||||||||||||||||||
PIsString Symbol Source # | |||||||||||||||||||||||||||||
Defined in Data.String.Singletons
| |||||||||||||||||||||||||||||
SIsString Symbol Source # | |||||||||||||||||||||||||||||
Defined in Data.String.Singletons | |||||||||||||||||||||||||||||
PShow Symbol Source # | |||||||||||||||||||||||||||||
Defined in Text.Show.Singletons
| |||||||||||||||||||||||||||||
SShow Symbol Source # | |||||||||||||||||||||||||||||
Defined in Text.Show.Singletons sShowsPrec :: forall (t1 :: Natural) (t2 :: Symbol) (t3 :: Symbol). Sing t1 -> Sing t2 -> Sing t3 -> Sing (Apply (Apply (Apply (ShowsPrecSym0 :: TyFun Natural (Symbol ~> (Symbol ~> Symbol)) -> Type) t1) t2) t3) Source # sShow_ :: forall (t :: Symbol). Sing t -> Sing (Apply (Show_Sym0 :: TyFun Symbol Symbol -> Type) t) Source # sShowList :: forall (t1 :: [Symbol]) (t2 :: Symbol). Sing t1 -> Sing t2 -> Sing (Apply (Apply (ShowListSym0 :: TyFun [Symbol] (Symbol ~> Symbol) -> Type) t1) t2) Source # | |||||||||||||||||||||||||||||
TestCoercion SSymbol | Since: base-4.18.0.0 | ||||||||||||||||||||||||||||
Defined in GHC.TypeLits | |||||||||||||||||||||||||||||
TestEquality SSymbol | Since: base-4.18.0.0 | ||||||||||||||||||||||||||||
Defined in GHC.TypeLits | |||||||||||||||||||||||||||||
KnownSymbol a => SingI (a :: Symbol) | Since: base-4.9.0.0 | ||||||||||||||||||||||||||||
Defined in GHC.Generics sing :: Sing a | |||||||||||||||||||||||||||||
KnownSymbol n => SingI (n :: Symbol) Source # | |||||||||||||||||||||||||||||
Defined in GHC.TypeLits.Singletons.Internal | |||||||||||||||||||||||||||||
SingI2 ('(:$$:) :: ErrorMessage' Symbol -> ErrorMessage' Symbol -> ErrorMessage' Symbol) Source # | |||||||||||||||||||||||||||||
Defined in Data.Singletons.Base.TypeError liftSing2 :: forall (x :: PErrorMessage) (y :: PErrorMessage). Sing x -> Sing y -> Sing (x ':$$: y) # | |||||||||||||||||||||||||||||
SingI2 ('(:<>:) :: ErrorMessage' Symbol -> ErrorMessage' Symbol -> ErrorMessage' Symbol) Source # | |||||||||||||||||||||||||||||
Defined in Data.Singletons.Base.TypeError liftSing2 :: forall (x :: PErrorMessage) (y :: PErrorMessage). Sing x -> Sing y -> Sing (x ':<>: y) # | |||||||||||||||||||||||||||||
SingI1 ('Text :: Symbol -> ErrorMessage' Symbol) Source # | |||||||||||||||||||||||||||||
SingI e1 => SingI1 ('(:$$:) e1 :: ErrorMessage' Symbol -> ErrorMessage' Symbol) Source # | |||||||||||||||||||||||||||||
Defined in Data.Singletons.Base.TypeError | |||||||||||||||||||||||||||||
SingI e1 => SingI1 ('(:<>:) e1 :: ErrorMessage' Symbol -> ErrorMessage' Symbol) Source # | |||||||||||||||||||||||||||||
Defined in Data.Singletons.Base.TypeError | |||||||||||||||||||||||||||||
SingI1 ('ShowType :: t -> ErrorMessage' Symbol) Source # | |||||||||||||||||||||||||||||
Defined in Data.Singletons.Base.TypeError | |||||||||||||||||||||||||||||
SShow a => SingI2 (ShowsPrecSym2 :: Natural -> a -> TyFun Symbol Symbol -> Type) Source # | |||||||||||||||||||||||||||||
Defined in Text.Show.Singletons | |||||||||||||||||||||||||||||
SingI t => SingI ('Text t :: ErrorMessage' Symbol) Source # | |||||||||||||||||||||||||||||
Defined in Data.Singletons.Base.TypeError | |||||||||||||||||||||||||||||
SingI1 ShowParenSym1 Source # | |||||||||||||||||||||||||||||
Defined in Text.Show.Singletons | |||||||||||||||||||||||||||||
SingI1 ShowCharSym1 Source # | |||||||||||||||||||||||||||||
Defined in Text.Show.Singletons | |||||||||||||||||||||||||||||
SingI1 ConsSymbolSym1 Source # | |||||||||||||||||||||||||||||
Defined in GHC.TypeLits.Singletons | |||||||||||||||||||||||||||||
SingI1 ShowStringSym1 Source # | |||||||||||||||||||||||||||||
Defined in Text.Show.Singletons | |||||||||||||||||||||||||||||
SingI1 ((:$$:@#@$$) :: ErrorMessage' Symbol -> TyFun (ErrorMessage' Symbol) (ErrorMessage' Symbol) -> Type) Source # | |||||||||||||||||||||||||||||
Defined in Data.Singletons.Base.TypeError liftSing :: forall (x :: PErrorMessage). Sing x -> Sing ((:$$:@#@$$) x) # | |||||||||||||||||||||||||||||
SingI1 ((:<>:@#@$$) :: ErrorMessage' Symbol -> TyFun (ErrorMessage' Symbol) (ErrorMessage' Symbol) -> Type) Source # | |||||||||||||||||||||||||||||
Defined in Data.Singletons.Base.TypeError liftSing :: forall (x :: PErrorMessage). Sing x -> Sing ((:<>:@#@$$) x) # | |||||||||||||||||||||||||||||
SShow a => SingI1 (ShowsPrecSym1 :: Natural -> TyFun a (Symbol ~> Symbol) -> Type) Source # | |||||||||||||||||||||||||||||
SShow a => SingI1 (ShowsSym1 :: a -> TyFun Symbol Symbol -> Type) Source # | |||||||||||||||||||||||||||||
(SShow a, SingI d) => SingI1 (ShowsPrecSym2 d :: a -> TyFun Symbol Symbol -> Type) Source # | |||||||||||||||||||||||||||||
Defined in Text.Show.Singletons liftSing :: forall (x :: a). Sing x -> Sing (ShowsPrecSym2 d x) # | |||||||||||||||||||||||||||||
SingI2 ShowParenSym2 Source # | |||||||||||||||||||||||||||||
(SingI e1, SingI e2) => SingI (e1 ':$$: e2 :: ErrorMessage' Symbol) Source # | |||||||||||||||||||||||||||||
Defined in Data.Singletons.Base.TypeError | |||||||||||||||||||||||||||||
(SingI e1, SingI e2) => SingI (e1 ':<>: e2 :: ErrorMessage' Symbol) Source # | |||||||||||||||||||||||||||||
Defined in Data.Singletons.Base.TypeError | |||||||||||||||||||||||||||||
SingI ty => SingI ('ShowType ty :: ErrorMessage' Symbol) Source # | |||||||||||||||||||||||||||||
Defined in Data.Singletons.Base.TypeError | |||||||||||||||||||||||||||||
SShow a => SingI1 (ShowListSym1 :: [a] -> TyFun Symbol Symbol -> Type) Source # | |||||||||||||||||||||||||||||
Defined in Text.Show.Singletons liftSing :: forall (x :: [a]). Sing x -> Sing (ShowListSym1 x) # | |||||||||||||||||||||||||||||
SingI d => SingI1 (ShowListWithSym2 d :: [a] -> TyFun Symbol Symbol -> Type) Source # | |||||||||||||||||||||||||||||
Defined in Text.Show.Singletons liftSing :: forall (x :: [a]). Sing x -> Sing (ShowListWithSym2 d x) # | |||||||||||||||||||||||||||||
SingI ShowParenSym0 Source # | |||||||||||||||||||||||||||||
Defined in Text.Show.Singletons sing :: Sing ShowParenSym0 # | |||||||||||||||||||||||||||||
SingI ShowCharSym0 Source # | |||||||||||||||||||||||||||||
Defined in Text.Show.Singletons sing :: Sing ShowCharSym0 # | |||||||||||||||||||||||||||||
SingI UnlinesSym0 Source # | |||||||||||||||||||||||||||||
Defined in Data.List.Singletons.Internal sing :: Sing UnlinesSym0 # | |||||||||||||||||||||||||||||
SingI UnwordsSym0 Source # | |||||||||||||||||||||||||||||
Defined in Data.List.Singletons.Internal sing :: Sing UnwordsSym0 # | |||||||||||||||||||||||||||||
SingI ShowStringSym0 Source # | |||||||||||||||||||||||||||||
Defined in Text.Show.Singletons sing :: Sing ShowStringSym0 # | |||||||||||||||||||||||||||||
SingI ShowCommaSpaceSym0 Source # | |||||||||||||||||||||||||||||
Defined in Text.Show.Singletons | |||||||||||||||||||||||||||||
SingI ShowSpaceSym0 Source # | |||||||||||||||||||||||||||||
Defined in Text.Show.Singletons sing :: Sing ShowSpaceSym0 # | |||||||||||||||||||||||||||||
SingI ConsSymbolSym0 Source # | |||||||||||||||||||||||||||||
Defined in GHC.TypeLits.Singletons sing :: Sing ConsSymbolSym0 # | |||||||||||||||||||||||||||||
SingI UnconsSymbolSym0 Source # | |||||||||||||||||||||||||||||
Defined in GHC.TypeLits.Singletons | |||||||||||||||||||||||||||||
SuppressUnusedWarnings ShowParenSym0 Source # | |||||||||||||||||||||||||||||
Defined in Text.Show.Singletons suppressUnusedWarnings :: () # | |||||||||||||||||||||||||||||
SuppressUnusedWarnings ConsSymbolSym0 Source # | |||||||||||||||||||||||||||||
Defined in GHC.TypeLits.Singletons suppressUnusedWarnings :: () # | |||||||||||||||||||||||||||||
SuppressUnusedWarnings ShowCharSym0 Source # | |||||||||||||||||||||||||||||
Defined in Text.Show.Singletons suppressUnusedWarnings :: () # | |||||||||||||||||||||||||||||
SuppressUnusedWarnings UnlinesSym0 Source # | |||||||||||||||||||||||||||||
Defined in Data.List.Singletons.Internal suppressUnusedWarnings :: () # | |||||||||||||||||||||||||||||
SuppressUnusedWarnings UnwordsSym0 Source # | |||||||||||||||||||||||||||||
Defined in Data.List.Singletons.Internal suppressUnusedWarnings :: () # | |||||||||||||||||||||||||||||
SuppressUnusedWarnings ShowStringSym0 Source # | |||||||||||||||||||||||||||||
Defined in Text.Show.Singletons suppressUnusedWarnings :: () # | |||||||||||||||||||||||||||||
SuppressUnusedWarnings UnconsSymbolSym0 Source # | |||||||||||||||||||||||||||||
Defined in GHC.TypeLits.Singletons suppressUnusedWarnings :: () # | |||||||||||||||||||||||||||||
SuppressUnusedWarnings KnownSymbolSym0 Source # | |||||||||||||||||||||||||||||
Defined in GHC.TypeLits.Singletons suppressUnusedWarnings :: () # | |||||||||||||||||||||||||||||
SuppressUnusedWarnings ShowCommaSpaceSym0 Source # | |||||||||||||||||||||||||||||
Defined in Text.Show.Singletons suppressUnusedWarnings :: () # | |||||||||||||||||||||||||||||
SuppressUnusedWarnings ShowSpaceSym0 Source # | |||||||||||||||||||||||||||||
Defined in Text.Show.Singletons suppressUnusedWarnings :: () # | |||||||||||||||||||||||||||||
SingI d => SingI (ShowParenSym1 d :: TyFun (Symbol ~> Symbol) (Symbol ~> Symbol) -> Type) Source # | |||||||||||||||||||||||||||||
Defined in Text.Show.Singletons sing :: Sing (ShowParenSym1 d) # | |||||||||||||||||||||||||||||
SingI (ShowListWithSym0 :: TyFun (a ~> (Symbol ~> Symbol)) ([a] ~> (Symbol ~> Symbol)) -> Type) Source # | |||||||||||||||||||||||||||||
SingI ((:$$:@#@$) :: TyFun (ErrorMessage' Symbol) (ErrorMessage' Symbol ~> ErrorMessage' Symbol) -> Type) Source # | |||||||||||||||||||||||||||||
Defined in Data.Singletons.Base.TypeError sing :: Sing ((:$$:@#@$) :: TyFun (ErrorMessage' Symbol) (ErrorMessage' Symbol ~> ErrorMessage' Symbol) -> Type) # | |||||||||||||||||||||||||||||
SingI ((:<>:@#@$) :: TyFun (ErrorMessage' Symbol) (ErrorMessage' Symbol ~> ErrorMessage' Symbol) -> Type) Source # | |||||||||||||||||||||||||||||
Defined in Data.Singletons.Base.TypeError sing :: Sing ((:<>:@#@$) :: TyFun (ErrorMessage' Symbol) (ErrorMessage' Symbol ~> ErrorMessage' Symbol) -> Type) # | |||||||||||||||||||||||||||||
SShow a => SingI (ShowsPrecSym0 :: TyFun Natural (a ~> (Symbol ~> Symbol)) -> Type) Source # | |||||||||||||||||||||||||||||
SShow a => SingI (ShowListSym0 :: TyFun [a] (Symbol ~> Symbol) -> Type) Source # | |||||||||||||||||||||||||||||
Defined in Text.Show.Singletons | |||||||||||||||||||||||||||||
SingI (TextSym0 :: TyFun Symbol (ErrorMessage' Symbol) -> Type) Source # | |||||||||||||||||||||||||||||
Defined in Data.Singletons.Base.TypeError | |||||||||||||||||||||||||||||
SingI d => SingI (ShowCharSym1 d :: TyFun Symbol Symbol -> Type) Source # | |||||||||||||||||||||||||||||
Defined in Text.Show.Singletons sing :: Sing (ShowCharSym1 d) # | |||||||||||||||||||||||||||||
SingI d => SingI (ShowStringSym1 d :: TyFun Symbol Symbol -> Type) Source # | |||||||||||||||||||||||||||||
Defined in Text.Show.Singletons sing :: Sing (ShowStringSym1 d) # | |||||||||||||||||||||||||||||
SIsString a => SingI (FromStringSym0 :: TyFun Symbol a -> Type) Source # | |||||||||||||||||||||||||||||
Defined in Data.String.Singletons | |||||||||||||||||||||||||||||
SingI (ErrorSym0 :: TyFun Symbol a -> Type) Source # | |||||||||||||||||||||||||||||
SingI (ErrorWithoutStackTraceSym0 :: TyFun Symbol a -> Type) Source # | |||||||||||||||||||||||||||||
Defined in GHC.TypeLits.Singletons.Internal | |||||||||||||||||||||||||||||
SShow a => SingI (ShowsSym0 :: TyFun a (Symbol ~> Symbol) -> Type) Source # | |||||||||||||||||||||||||||||
SShow a => SingI (Show_Sym0 :: TyFun a Symbol -> Type) Source # | |||||||||||||||||||||||||||||
SingI (TypeErrorSym0 :: TyFun PErrorMessage a -> Type) Source # | |||||||||||||||||||||||||||||
Defined in Data.Singletons.Base.TypeError sing :: Sing (TypeErrorSym0 :: TyFun PErrorMessage a -> Type) # | |||||||||||||||||||||||||||||
SingI x => SingI (ConsSymbolSym1 x :: TyFun Symbol Symbol -> Type) Source # | |||||||||||||||||||||||||||||
Defined in GHC.TypeLits.Singletons sing :: Sing (ConsSymbolSym1 x) # | |||||||||||||||||||||||||||||
SuppressUnusedWarnings (ShowParenSym1 a6989586621680208653 :: TyFun (Symbol ~> Symbol) (Symbol ~> Symbol) -> Type) Source # | |||||||||||||||||||||||||||||
Defined in Text.Show.Singletons suppressUnusedWarnings :: () # | |||||||||||||||||||||||||||||
SuppressUnusedWarnings (ShowListWithSym0 :: TyFun (a ~> (Symbol ~> Symbol)) ([a] ~> (Symbol ~> Symbol)) -> Type) Source # | |||||||||||||||||||||||||||||
Defined in Text.Show.Singletons suppressUnusedWarnings :: () # | |||||||||||||||||||||||||||||
SuppressUnusedWarnings (TypeErrorSym0 :: TyFun PErrorMessage a -> Type) Source # | |||||||||||||||||||||||||||||
Defined in Data.Singletons.Base.TypeError suppressUnusedWarnings :: () # | |||||||||||||||||||||||||||||
SuppressUnusedWarnings (ShowsPrecSym0 :: TyFun Natural (a ~> (Symbol ~> Symbol)) -> Type) Source # | |||||||||||||||||||||||||||||
Defined in Text.Show.Singletons suppressUnusedWarnings :: () # | |||||||||||||||||||||||||||||
SuppressUnusedWarnings (ShowListSym0 :: TyFun [a] (Symbol ~> Symbol) -> Type) Source # | |||||||||||||||||||||||||||||
Defined in Text.Show.Singletons suppressUnusedWarnings :: () # | |||||||||||||||||||||||||||||
SuppressUnusedWarnings (ConsSymbolSym1 a6989586621679569296 :: TyFun Symbol Symbol -> Type) Source # | |||||||||||||||||||||||||||||
Defined in GHC.TypeLits.Singletons suppressUnusedWarnings :: () # | |||||||||||||||||||||||||||||
SuppressUnusedWarnings (ShowCharSym1 a6989586621680208680 :: TyFun Symbol Symbol -> Type) Source # | |||||||||||||||||||||||||||||
Defined in Text.Show.Singletons suppressUnusedWarnings :: () # | |||||||||||||||||||||||||||||
SuppressUnusedWarnings (ShowStringSym1 a6989586621680208669 :: TyFun Symbol Symbol -> Type) Source # | |||||||||||||||||||||||||||||
Defined in Text.Show.Singletons suppressUnusedWarnings :: () # | |||||||||||||||||||||||||||||
SuppressUnusedWarnings (FromStringSym0 :: TyFun Symbol a -> Type) Source # | |||||||||||||||||||||||||||||
Defined in Data.String.Singletons suppressUnusedWarnings :: () # | |||||||||||||||||||||||||||||
SuppressUnusedWarnings (ErrorSym0 :: TyFun Symbol a -> Type) Source # | |||||||||||||||||||||||||||||
Defined in GHC.TypeLits.Singletons.Internal suppressUnusedWarnings :: () # | |||||||||||||||||||||||||||||
SuppressUnusedWarnings (ErrorWithoutStackTraceSym0 :: TyFun Symbol a -> Type) Source # | |||||||||||||||||||||||||||||
Defined in GHC.TypeLits.Singletons.Internal suppressUnusedWarnings :: () # | |||||||||||||||||||||||||||||
SuppressUnusedWarnings (ShowsSym0 :: TyFun a (Symbol ~> Symbol) -> Type) Source # | |||||||||||||||||||||||||||||
Defined in Text.Show.Singletons suppressUnusedWarnings :: () # | |||||||||||||||||||||||||||||
SuppressUnusedWarnings (Show_Sym0 :: TyFun a Symbol -> Type) Source # | |||||||||||||||||||||||||||||
Defined in Text.Show.Singletons suppressUnusedWarnings :: () # | |||||||||||||||||||||||||||||
SingI2 (ShowListWithSym2 :: (a ~> (Symbol ~> Symbol)) -> [a] -> TyFun Symbol Symbol -> Type) Source # | |||||||||||||||||||||||||||||
SingI x => SingI ((:$$:@#@$$) x :: TyFun (ErrorMessage' Symbol) (ErrorMessage' Symbol) -> Type) Source # | |||||||||||||||||||||||||||||
Defined in Data.Singletons.Base.TypeError sing :: Sing ((:$$:@#@$$) x) # | |||||||||||||||||||||||||||||
SingI x => SingI ((:<>:@#@$$) x :: TyFun (ErrorMessage' Symbol) (ErrorMessage' Symbol) -> Type) Source # | |||||||||||||||||||||||||||||
Defined in Data.Singletons.Base.TypeError sing :: Sing ((:<>:@#@$$) x) # | |||||||||||||||||||||||||||||
SingI d => SingI (ShowListWithSym1 d :: TyFun [a] (Symbol ~> Symbol) -> Type) Source # | |||||||||||||||||||||||||||||
Defined in Text.Show.Singletons sing :: Sing (ShowListWithSym1 d) # | |||||||||||||||||||||||||||||
(SShow a, SingI d) => SingI (ShowListSym1 d :: TyFun Symbol Symbol -> Type) Source # | |||||||||||||||||||||||||||||
Defined in Text.Show.Singletons sing :: Sing (ShowListSym1 d) # | |||||||||||||||||||||||||||||
(SingI d1, SingI d2) => SingI (ShowParenSym2 d1 d2 :: TyFun Symbol Symbol -> Type) Source # | |||||||||||||||||||||||||||||
Defined in Text.Show.Singletons sing :: Sing (ShowParenSym2 d1 d2) # | |||||||||||||||||||||||||||||
(SShow a, SingI d) => SingI (ShowsSym1 d :: TyFun Symbol Symbol -> Type) Source # | |||||||||||||||||||||||||||||
Defined in Text.Show.Singletons | |||||||||||||||||||||||||||||
(SShow a, SingI d) => SingI (ShowsPrecSym1 d :: TyFun a (Symbol ~> Symbol) -> Type) Source # | |||||||||||||||||||||||||||||
Defined in Text.Show.Singletons | |||||||||||||||||||||||||||||
SingI (ShowTypeSym0 :: TyFun t (ErrorMessage' Symbol) -> Type) Source # | |||||||||||||||||||||||||||||
Defined in Data.Singletons.Base.TypeError sing :: Sing (ShowTypeSym0 :: TyFun t (ErrorMessage' Symbol) -> Type) # | |||||||||||||||||||||||||||||
SuppressUnusedWarnings (ShowListWithSym1 a6989586621680208688 :: TyFun [a] (Symbol ~> Symbol) -> Type) Source # | |||||||||||||||||||||||||||||
Defined in Text.Show.Singletons suppressUnusedWarnings :: () # | |||||||||||||||||||||||||||||
SuppressUnusedWarnings (ShowListSym1 a6989586621680208723 :: TyFun Symbol Symbol -> Type) Source # | |||||||||||||||||||||||||||||
Defined in Text.Show.Singletons suppressUnusedWarnings :: () # | |||||||||||||||||||||||||||||
SuppressUnusedWarnings (ShowParenSym2 a6989586621680208653 a6989586621680208654 :: TyFun Symbol Symbol -> Type) Source # | |||||||||||||||||||||||||||||
Defined in Text.Show.Singletons suppressUnusedWarnings :: () # | |||||||||||||||||||||||||||||
SuppressUnusedWarnings (ShowsSym1 a6989586621680208706 :: TyFun Symbol Symbol -> Type) Source # | |||||||||||||||||||||||||||||
Defined in Text.Show.Singletons suppressUnusedWarnings :: () # | |||||||||||||||||||||||||||||
SuppressUnusedWarnings (ShowsPrecSym1 a6989586621680208714 :: TyFun a (Symbol ~> Symbol) -> Type) Source # | |||||||||||||||||||||||||||||
Defined in Text.Show.Singletons suppressUnusedWarnings :: () # | |||||||||||||||||||||||||||||
SingI d => SingI1 (ShowParenSym2 d :: (Symbol ~> Symbol) -> TyFun Symbol Symbol -> Type) Source # | |||||||||||||||||||||||||||||
Defined in Text.Show.Singletons | |||||||||||||||||||||||||||||
SingI1 (ShowListWithSym1 :: (a ~> (Symbol ~> Symbol)) -> TyFun [a] (Symbol ~> Symbol) -> Type) Source # | |||||||||||||||||||||||||||||
Defined in Text.Show.Singletons | |||||||||||||||||||||||||||||
(SingI d1, SingI d2) => SingI (ShowListWithSym2 d1 d2 :: TyFun Symbol Symbol -> Type) Source # | |||||||||||||||||||||||||||||
Defined in Text.Show.Singletons sing :: Sing (ShowListWithSym2 d1 d2) # | |||||||||||||||||||||||||||||
(SShow a, SingI d1, SingI d2) => SingI (ShowsPrecSym2 d1 d2 :: TyFun Symbol Symbol -> Type) Source # | |||||||||||||||||||||||||||||
Defined in Text.Show.Singletons sing :: Sing (ShowsPrecSym2 d1 d2) # | |||||||||||||||||||||||||||||
SuppressUnusedWarnings (ShowListWithSym2 a6989586621680208688 a6989586621680208689 :: TyFun Symbol Symbol -> Type) Source # | |||||||||||||||||||||||||||||
Defined in Text.Show.Singletons suppressUnusedWarnings :: () # | |||||||||||||||||||||||||||||
SuppressUnusedWarnings (ShowsPrecSym2 a6989586621680208714 a6989586621680208715 :: TyFun Symbol Symbol -> Type) Source # | |||||||||||||||||||||||||||||
Defined in Text.Show.Singletons suppressUnusedWarnings :: () # | |||||||||||||||||||||||||||||
type DemoteRep Symbol | |||||||||||||||||||||||||||||
Defined in GHC.Generics | |||||||||||||||||||||||||||||
data Sing (s :: Symbol) | |||||||||||||||||||||||||||||
Defined in GHC.Generics | |||||||||||||||||||||||||||||
type Demote PErrorMessage Source # | |||||||||||||||||||||||||||||
Defined in Data.Singletons.Base.TypeError | |||||||||||||||||||||||||||||
type Demote Symbol Source # | |||||||||||||||||||||||||||||
Defined in GHC.TypeLits.Singletons.Internal | |||||||||||||||||||||||||||||
type Sing Source # | |||||||||||||||||||||||||||||
Defined in Data.Singletons.Base.TypeError | |||||||||||||||||||||||||||||
type Sing Source # | |||||||||||||||||||||||||||||
Defined in GHC.TypeLits.Singletons.Internal | |||||||||||||||||||||||||||||
type Mempty Source # | |||||||||||||||||||||||||||||
Defined in Data.Monoid.Singletons type Mempty | |||||||||||||||||||||||||||||
type Mconcat (arg :: [Symbol]) Source # | |||||||||||||||||||||||||||||
Defined in Data.Monoid.Singletons | |||||||||||||||||||||||||||||
type Sconcat (arg :: NonEmpty Symbol) Source # | |||||||||||||||||||||||||||||
Defined in GHC.TypeLits.Singletons.Internal | |||||||||||||||||||||||||||||
type FromString a Source # | |||||||||||||||||||||||||||||
Defined in Data.String.Singletons type FromString a = a | |||||||||||||||||||||||||||||
type Show_ (arg :: Symbol) Source # | |||||||||||||||||||||||||||||
Defined in Text.Show.Singletons | |||||||||||||||||||||||||||||
type Compare (a :: Symbol) (b :: Symbol) | |||||||||||||||||||||||||||||
Defined in Data.Type.Ord | |||||||||||||||||||||||||||||
type (arg :: Symbol) /= (arg1 :: Symbol) Source # | |||||||||||||||||||||||||||||
Defined in GHC.TypeLits.Singletons.Internal | |||||||||||||||||||||||||||||
type (x :: Symbol) == (y :: Symbol) Source # | |||||||||||||||||||||||||||||
Defined in GHC.TypeLits.Singletons.Internal | |||||||||||||||||||||||||||||
type Mappend (arg1 :: Symbol) (arg2 :: Symbol) Source # | |||||||||||||||||||||||||||||
Defined in Data.Monoid.Singletons | |||||||||||||||||||||||||||||
type (arg :: Symbol) < (arg1 :: Symbol) Source # | |||||||||||||||||||||||||||||
Defined in GHC.TypeLits.Singletons.Internal | |||||||||||||||||||||||||||||
type (arg :: Symbol) <= (arg1 :: Symbol) Source # | |||||||||||||||||||||||||||||
Defined in GHC.TypeLits.Singletons.Internal | |||||||||||||||||||||||||||||
type (arg :: Symbol) > (arg1 :: Symbol) Source # | |||||||||||||||||||||||||||||
Defined in GHC.TypeLits.Singletons.Internal | |||||||||||||||||||||||||||||
type (arg :: Symbol) >= (arg1 :: Symbol) Source # | |||||||||||||||||||||||||||||
Defined in GHC.TypeLits.Singletons.Internal | |||||||||||||||||||||||||||||
type Compare (a :: Symbol) (b :: Symbol) Source # | |||||||||||||||||||||||||||||
Defined in GHC.TypeLits.Singletons.Internal | |||||||||||||||||||||||||||||
type Max (arg :: Symbol) (arg1 :: Symbol) Source # | |||||||||||||||||||||||||||||
Defined in GHC.TypeLits.Singletons.Internal | |||||||||||||||||||||||||||||
type Min (arg :: Symbol) (arg1 :: Symbol) Source # | |||||||||||||||||||||||||||||
Defined in GHC.TypeLits.Singletons.Internal | |||||||||||||||||||||||||||||
type (a :: Symbol) <> (b :: Symbol) Source # | |||||||||||||||||||||||||||||
Defined in GHC.TypeLits.Singletons.Internal | |||||||||||||||||||||||||||||
type ShowList (arg1 :: [Symbol]) arg2 Source # | |||||||||||||||||||||||||||||
Defined in Text.Show.Singletons | |||||||||||||||||||||||||||||
type Apply KnownSymbolSym0 (a6989586621679566100 :: Symbol) Source # | |||||||||||||||||||||||||||||
Defined in GHC.TypeLits.Singletons | |||||||||||||||||||||||||||||
type Apply ShowCommaSpaceSym0 (a6989586621680208635 :: Symbol) Source # | |||||||||||||||||||||||||||||
Defined in Text.Show.Singletons type Apply ShowCommaSpaceSym0 (a6989586621680208635 :: Symbol) = ShowCommaSpace a6989586621680208635 | |||||||||||||||||||||||||||||
type Apply ShowSpaceSym0 (a6989586621680208641 :: Symbol) Source # | |||||||||||||||||||||||||||||
Defined in Text.Show.Singletons | |||||||||||||||||||||||||||||
type ShowsPrec _1 (s :: Symbol) x Source # | |||||||||||||||||||||||||||||
Defined in Text.Show.Singletons | |||||||||||||||||||||||||||||
type Apply (TypeErrorSym0 :: TyFun PErrorMessage k2 -> Type) (a6989586621680205235 :: PErrorMessage) Source # | |||||||||||||||||||||||||||||
Defined in Data.Singletons.Base.TypeError type Apply (TypeErrorSym0 :: TyFun PErrorMessage k2 -> Type) (a6989586621680205235 :: PErrorMessage) = TypeError a6989586621680205235 :: k2 | |||||||||||||||||||||||||||||
type Apply (ConsSymbolSym1 a6989586621679569296 :: TyFun Symbol Symbol -> Type) (a6989586621679569297 :: Symbol) Source # | |||||||||||||||||||||||||||||
Defined in GHC.TypeLits.Singletons type Apply (ConsSymbolSym1 a6989586621679569296 :: TyFun Symbol Symbol -> Type) (a6989586621679569297 :: Symbol) = ConsSymbol a6989586621679569296 a6989586621679569297 | |||||||||||||||||||||||||||||
type Apply (ShowCharSym1 a6989586621680208680 :: TyFun Symbol Symbol -> Type) (a6989586621680208681 :: Symbol) Source # | |||||||||||||||||||||||||||||
Defined in Text.Show.Singletons | |||||||||||||||||||||||||||||
type Apply (ShowStringSym1 a6989586621680208669 :: TyFun Symbol Symbol -> Type) (a6989586621680208670 :: Symbol) Source # | |||||||||||||||||||||||||||||
Defined in Text.Show.Singletons type Apply (ShowStringSym1 a6989586621680208669 :: TyFun Symbol Symbol -> Type) (a6989586621680208670 :: Symbol) = ShowString a6989586621680208669 a6989586621680208670 | |||||||||||||||||||||||||||||
type Apply (FromStringSym0 :: TyFun Symbol k2 -> Type) (a6989586621681179965 :: Symbol) Source # | |||||||||||||||||||||||||||||
Defined in Data.String.Singletons type Apply (FromStringSym0 :: TyFun Symbol k2 -> Type) (a6989586621681179965 :: Symbol) = FromString a6989586621681179965 :: k2 | |||||||||||||||||||||||||||||
type Apply (ErrorSym0 :: TyFun Symbol k2 -> Type) (a6989586621679555664 :: Symbol) Source # | |||||||||||||||||||||||||||||
type Apply (ErrorWithoutStackTraceSym0 :: TyFun Symbol k2 -> Type) (a6989586621679555924 :: Symbol) Source # | |||||||||||||||||||||||||||||
Defined in GHC.TypeLits.Singletons.Internal type Apply (ErrorWithoutStackTraceSym0 :: TyFun Symbol k2 -> Type) (a6989586621679555924 :: Symbol) = ErrorWithoutStackTrace a6989586621679555924 :: k2 | |||||||||||||||||||||||||||||
type Apply (Show_Sym0 :: TyFun a Symbol -> Type) (a6989586621680208719 :: a) Source # | |||||||||||||||||||||||||||||
type Apply (ShowListSym1 a6989586621680208723 :: TyFun Symbol Symbol -> Type) (a6989586621680208724 :: Symbol) Source # | |||||||||||||||||||||||||||||
Defined in Text.Show.Singletons | |||||||||||||||||||||||||||||
type Apply (ShowParenSym2 a6989586621680208653 a6989586621680208654 :: TyFun Symbol Symbol -> Type) (a6989586621680208655 :: Symbol) Source # | |||||||||||||||||||||||||||||
Defined in Text.Show.Singletons | |||||||||||||||||||||||||||||
type Apply (ShowsSym1 a6989586621680208706 :: TyFun Symbol Symbol -> Type) (a6989586621680208707 :: Symbol) Source # | |||||||||||||||||||||||||||||
type Apply (ShowListWithSym2 a6989586621680208688 a6989586621680208689 :: TyFun Symbol Symbol -> Type) (a6989586621680208690 :: Symbol) Source # | |||||||||||||||||||||||||||||
Defined in Text.Show.Singletons type Apply (ShowListWithSym2 a6989586621680208688 a6989586621680208689 :: TyFun Symbol Symbol -> Type) (a6989586621680208690 :: Symbol) = ShowListWith a6989586621680208688 a6989586621680208689 a6989586621680208690 | |||||||||||||||||||||||||||||
type Apply (ShowsPrecSym2 a6989586621680208714 a6989586621680208715 :: TyFun Symbol Symbol -> Type) (a6989586621680208716 :: Symbol) Source # | |||||||||||||||||||||||||||||
Defined in Text.Show.Singletons | |||||||||||||||||||||||||||||
type Apply UnconsSymbolSym0 (a6989586621679569801 :: Symbol) Source # | |||||||||||||||||||||||||||||
Defined in GHC.TypeLits.Singletons | |||||||||||||||||||||||||||||
type Apply ShowParenSym0 (a6989586621680208653 :: Bool) Source # | |||||||||||||||||||||||||||||
Defined in Text.Show.Singletons | |||||||||||||||||||||||||||||
type Apply ConsSymbolSym0 (a6989586621679569296 :: Char) Source # | |||||||||||||||||||||||||||||
Defined in GHC.TypeLits.Singletons | |||||||||||||||||||||||||||||
type Apply ShowCharSym0 (a6989586621680208680 :: Char) Source # | |||||||||||||||||||||||||||||
Defined in Text.Show.Singletons | |||||||||||||||||||||||||||||
type Apply ShowStringSym0 (a6989586621680208669 :: Symbol) Source # | |||||||||||||||||||||||||||||
Defined in Text.Show.Singletons | |||||||||||||||||||||||||||||
type Apply (ShowsPrecSym0 :: TyFun Natural (a ~> (Symbol ~> Symbol)) -> Type) (a6989586621680208714 :: Natural) Source # | |||||||||||||||||||||||||||||
type Apply (ShowsSym0 :: TyFun a (Symbol ~> Symbol) -> Type) (a6989586621680208706 :: a) Source # | |||||||||||||||||||||||||||||
type Apply (ShowsPrecSym1 a6989586621680208714 :: TyFun a (Symbol ~> Symbol) -> Type) (a6989586621680208715 :: a) Source # | |||||||||||||||||||||||||||||
Defined in Text.Show.Singletons type Apply (ShowsPrecSym1 a6989586621680208714 :: TyFun a (Symbol ~> Symbol) -> Type) (a6989586621680208715 :: a) = ShowsPrecSym2 a6989586621680208714 a6989586621680208715 | |||||||||||||||||||||||||||||
type Apply UnlinesSym0 (a6989586621679815198 :: [Symbol]) Source # | |||||||||||||||||||||||||||||
Defined in Data.List.Singletons.Internal | |||||||||||||||||||||||||||||
type Apply UnwordsSym0 (a6989586621679815188 :: [Symbol]) Source # | |||||||||||||||||||||||||||||
Defined in Data.List.Singletons.Internal | |||||||||||||||||||||||||||||
type Apply (ShowListSym0 :: TyFun [a] (Symbol ~> Symbol) -> Type) (a6989586621680208723 :: [a]) Source # | |||||||||||||||||||||||||||||
Defined in Text.Show.Singletons type Apply (ShowListSym0 :: TyFun [a] (Symbol ~> Symbol) -> Type) (a6989586621680208723 :: [a]) = ShowListSym1 a6989586621680208723 | |||||||||||||||||||||||||||||
type Apply (ShowListWithSym1 a6989586621680208688 :: TyFun [a] (Symbol ~> Symbol) -> Type) (a6989586621680208689 :: [a]) Source # | |||||||||||||||||||||||||||||
Defined in Text.Show.Singletons type Apply (ShowListWithSym1 a6989586621680208688 :: TyFun [a] (Symbol ~> Symbol) -> Type) (a6989586621680208689 :: [a]) = ShowListWithSym2 a6989586621680208688 a6989586621680208689 | |||||||||||||||||||||||||||||
type Apply (ShowParenSym1 a6989586621680208653 :: TyFun (Symbol ~> Symbol) (Symbol ~> Symbol) -> Type) (a6989586621680208654 :: Symbol ~> Symbol) Source # | |||||||||||||||||||||||||||||
Defined in Text.Show.Singletons | |||||||||||||||||||||||||||||
type Apply (ShowListWithSym0 :: TyFun (a ~> (Symbol ~> Symbol)) ([a] ~> (Symbol ~> Symbol)) -> Type) (a6989586621680208688 :: a ~> (Symbol ~> Symbol)) Source # | |||||||||||||||||||||||||||||
The character type Char
represents Unicode codespace
and its elements are code points as in definitions
D9 and D10 of the Unicode Standard.
Character literals in Haskell are single-quoted: 'Q'
, 'Я'
or 'Ω'
.
To represent a single quote itself use '\''
, and to represent a backslash
use '\\'
. The full grammar can be found in the section 2.6 of the
Haskell 2010 Language Report.
To specify a character by its code point one can use decimal, hexadecimal
or octal notation: '\65'
, '\x41'
and '\o101'
are all alternative forms
of 'A'
. The largest code point is '\x10ffff'
.
There is a special escape syntax for ASCII control characters:
Escape | Alternatives | Meaning |
---|---|---|
'\NUL' | '\0' | null character |
'\SOH' | '\1' | start of heading |
'\STX' | '\2' | start of text |
'\ETX' | '\3' | end of text |
'\EOT' | '\4' | end of transmission |
'\ENQ' | '\5' | enquiry |
'\ACK' | '\6' | acknowledge |
'\BEL' | '\7' , '\a' | bell (alert) |
'\BS' | '\8' , '\b' | backspace |
'\HT' | '\9' , '\t' | horizontal tab |
'\LF' | '\10' , '\n' | line feed (new line) |
'\VT' | '\11' , '\v' | vertical tab |
'\FF' | '\12' , '\f' | form feed |
'\CR' | '\13' , '\r' | carriage return |
'\SO' | '\14' | shift out |
'\SI' | '\15' | shift in |
'\DLE' | '\16' | data link escape |
'\DC1' | '\17' | device control 1 |
'\DC2' | '\18' | device control 2 |
'\DC3' | '\19' | device control 3 |
'\DC4' | '\20' | device control 4 |
'\NAK' | '\21' | negative acknowledge |
'\SYN' | '\22' | synchronous idle |
'\ETB' | '\23' | end of transmission block |
'\CAN' | '\24' | cancel |
'\EM' | '\25' | end of medium |
'\SUB' | '\26' | substitute |
'\ESC' | '\27' | escape |
'\FS' | '\28' | file separator |
'\GS' | '\29' | group separator |
'\RS' | '\30' | record separator |
'\US' | '\31' | unit separator |
'\SP' | '\32' , ' ' | space |
'\DEL' | '\127' | delete |
Instances
Data Char | Since: base-4.0.0.0 | ||||||||||||||||||||||||||||
Defined in Data.Data gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Char -> c Char # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Char # dataTypeOf :: Char -> DataType # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Char) # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Char) # gmapT :: (forall b. Data b => b -> b) -> Char -> Char # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Char -> r # gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Char -> r # gmapQ :: (forall d. Data d => d -> u) -> Char -> [u] # gmapQi :: Int -> (forall d. Data d => d -> u) -> Char -> u # gmapM :: Monad m => (forall d. Data d => d -> m d) -> Char -> m Char # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Char -> m Char # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Char -> m Char # | |||||||||||||||||||||||||||||
Storable Char | Since: base-2.1 | ||||||||||||||||||||||||||||
Defined in Foreign.Storable | |||||||||||||||||||||||||||||
Bounded Char | Since: base-2.1 | ||||||||||||||||||||||||||||
Enum Char | Since: base-2.1 | ||||||||||||||||||||||||||||
Ix Char | Since: base-2.1 | ||||||||||||||||||||||||||||
Read Char | Since: base-2.1 | ||||||||||||||||||||||||||||
Show Char | Since: base-2.1 | ||||||||||||||||||||||||||||
IsChar Char | Since: base-2.1 | ||||||||||||||||||||||||||||
PrintfArg Char | Since: base-2.1 | ||||||||||||||||||||||||||||
Defined in Text.Printf formatArg :: Char -> FieldFormatter # parseFormat :: Char -> ModifierParser # | |||||||||||||||||||||||||||||
NFData Char | |||||||||||||||||||||||||||||
Defined in Control.DeepSeq | |||||||||||||||||||||||||||||
Eq Char | |||||||||||||||||||||||||||||
Ord Char | |||||||||||||||||||||||||||||
Pretty Char | |||||||||||||||||||||||||||||
Defined in Text.PrettyPrint.Annotated.HughesPJClass pPrintPrec :: PrettyLevel -> Rational -> Char -> Doc ann # pPrintList :: PrettyLevel -> [Char] -> Doc ann # | |||||||||||||||||||||||||||||
Pretty Char | |||||||||||||||||||||||||||||
Defined in Text.PrettyPrint.HughesPJClass pPrintPrec :: PrettyLevel -> Rational -> Char -> Doc # pPrintList :: PrettyLevel -> [Char] -> Doc # | |||||||||||||||||||||||||||||
SingKind Char Source # | |||||||||||||||||||||||||||||
SDecide Char Source # | |||||||||||||||||||||||||||||
PEq Char Source # | |||||||||||||||||||||||||||||
SEq Char Source # | |||||||||||||||||||||||||||||
Defined in GHC.TypeLits.Singletons.Internal | |||||||||||||||||||||||||||||
POrd Char Source # | |||||||||||||||||||||||||||||
Defined in GHC.TypeLits.Singletons.Internal
| |||||||||||||||||||||||||||||
SOrd Char Source # | |||||||||||||||||||||||||||||
Defined in GHC.TypeLits.Singletons.Internal sCompare :: forall (t1 :: Char) (t2 :: Char). Sing t1 -> Sing t2 -> Sing (Apply (Apply (CompareSym0 :: TyFun Char (Char ~> Ordering) -> Type) t1) t2) Source # (%<) :: forall (t1 :: Char) (t2 :: Char). Sing t1 -> Sing t2 -> Sing (Apply (Apply ((<@#@$) :: TyFun Char (Char ~> Bool) -> Type) t1) t2) Source # (%<=) :: forall (t1 :: Char) (t2 :: Char). Sing t1 -> Sing t2 -> Sing (Apply (Apply ((<=@#@$) :: TyFun Char (Char ~> Bool) -> Type) t1) t2) Source # (%>) :: forall (t1 :: Char) (t2 :: Char). Sing t1 -> Sing t2 -> Sing (Apply (Apply ((>@#@$) :: TyFun Char (Char ~> Bool) -> Type) t1) t2) Source # (%>=) :: forall (t1 :: Char) (t2 :: Char). Sing t1 -> Sing t2 -> Sing (Apply (Apply ((>=@#@$) :: TyFun Char (Char ~> Bool) -> Type) t1) t2) Source # sMax :: forall (t1 :: Char) (t2 :: Char). Sing t1 -> Sing t2 -> Sing (Apply (Apply (MaxSym0 :: TyFun Char (Char ~> Char) -> Type) t1) t2) Source # sMin :: forall (t1 :: Char) (t2 :: Char). Sing t1 -> Sing t2 -> Sing (Apply (Apply (MinSym0 :: TyFun Char (Char ~> Char) -> Type) t1) t2) Source # | |||||||||||||||||||||||||||||
PBounded Char Source # | |||||||||||||||||||||||||||||
Defined in Data.Singletons.Base.Enum
| |||||||||||||||||||||||||||||
PEnum Char Source # | |||||||||||||||||||||||||||||
Defined in Data.Singletons.Base.Enum
| |||||||||||||||||||||||||||||
SBounded Char Source # | |||||||||||||||||||||||||||||
Defined in Data.Singletons.Base.Enum | |||||||||||||||||||||||||||||
SEnum Char Source # | |||||||||||||||||||||||||||||
Defined in Data.Singletons.Base.Enum sSucc :: forall (t :: Char). Sing t -> Sing (Apply (SuccSym0 :: TyFun Char Char -> Type) t) Source # sPred :: forall (t :: Char). Sing t -> Sing (Apply (PredSym0 :: TyFun Char Char -> Type) t) Source # sToEnum :: forall (t :: Natural). Sing t -> Sing (Apply (ToEnumSym0 :: TyFun Natural Char -> Type) t) Source # sFromEnum :: forall (t :: Char). Sing t -> Sing (Apply (FromEnumSym0 :: TyFun Char Natural -> Type) t) Source # sEnumFromTo :: forall (t1 :: Char) (t2 :: Char). Sing t1 -> Sing t2 -> Sing (Apply (Apply (EnumFromToSym0 :: TyFun Char (Char ~> [Char]) -> Type) t1) t2) Source # sEnumFromThenTo :: forall (t1 :: Char) (t2 :: Char) (t3 :: Char). Sing t1 -> Sing t2 -> Sing t3 -> Sing (Apply (Apply (Apply (EnumFromThenToSym0 :: TyFun Char (Char ~> (Char ~> [Char])) -> Type) t1) t2) t3) Source # | |||||||||||||||||||||||||||||
PShow Char Source # | |||||||||||||||||||||||||||||
Defined in Text.Show.Singletons
| |||||||||||||||||||||||||||||
SShow Char Source # | |||||||||||||||||||||||||||||
Defined in Text.Show.Singletons sShowsPrec :: forall (t1 :: Natural) (t2 :: Char) (t3 :: Symbol). Sing t1 -> Sing t2 -> Sing t3 -> Sing (Apply (Apply (Apply (ShowsPrecSym0 :: TyFun Natural (Char ~> (Symbol ~> Symbol)) -> Type) t1) t2) t3) Source # sShow_ :: forall (t :: Char). Sing t -> Sing (Apply (Show_Sym0 :: TyFun Char Symbol -> Type) t) Source # sShowList :: forall (t1 :: [Char]) (t2 :: Symbol). Sing t1 -> Sing t2 -> Sing (Apply (Apply (ShowListSym0 :: TyFun [Char] (Symbol ~> Symbol) -> Type) t1) t2) Source # | |||||||||||||||||||||||||||||
TestCoercion SChar | Since: base-4.18.0.0 | ||||||||||||||||||||||||||||
Defined in GHC.TypeLits | |||||||||||||||||||||||||||||
TestEquality SChar | Since: base-4.18.0.0 | ||||||||||||||||||||||||||||
Defined in GHC.TypeLits | |||||||||||||||||||||||||||||
KnownChar c => SingI (c :: Char) Source # | |||||||||||||||||||||||||||||
Defined in GHC.TypeLits.Singletons.Internal | |||||||||||||||||||||||||||||
Lift Char | |||||||||||||||||||||||||||||
Generic1 (URec Char :: k -> Type) | |||||||||||||||||||||||||||||
Defined in GHC.Generics
| |||||||||||||||||||||||||||||
SingI1 ShowCharSym1 Source # | |||||||||||||||||||||||||||||
Defined in Text.Show.Singletons | |||||||||||||||||||||||||||||
SingI1 ConsSymbolSym1 Source # | |||||||||||||||||||||||||||||
Defined in GHC.TypeLits.Singletons | |||||||||||||||||||||||||||||
Foldable (UChar :: Type -> Type) | Since: base-4.9.0.0 | ||||||||||||||||||||||||||||
Defined in Data.Foldable fold :: Monoid m => UChar m -> m # foldMap :: Monoid m => (a -> m) -> UChar a -> m # foldMap' :: Monoid m => (a -> m) -> UChar a -> m # foldr :: (a -> b -> b) -> b -> UChar a -> b # foldr' :: (a -> b -> b) -> b -> UChar a -> b # foldl :: (b -> a -> b) -> b -> UChar a -> b # foldl' :: (b -> a -> b) -> b -> UChar a -> b # foldr1 :: (a -> a -> a) -> UChar a -> a # foldl1 :: (a -> a -> a) -> UChar a -> a # elem :: Eq a => a -> UChar a -> Bool # maximum :: Ord a => UChar a -> a # minimum :: Ord a => UChar a -> a # | |||||||||||||||||||||||||||||
Traversable (UChar :: Type -> Type) | Since: base-4.9.0.0 | ||||||||||||||||||||||||||||
Functor (URec Char :: Type -> Type) | Since: base-4.9.0.0 | ||||||||||||||||||||||||||||
SingI ShowCharSym0 Source # | |||||||||||||||||||||||||||||
Defined in Text.Show.Singletons sing :: Sing ShowCharSym0 # | |||||||||||||||||||||||||||||
SingI NatToCharSym0 Source # | |||||||||||||||||||||||||||||
Defined in GHC.TypeLits.Singletons sing :: Sing NatToCharSym0 # | |||||||||||||||||||||||||||||
SingI ConsSymbolSym0 Source # | |||||||||||||||||||||||||||||
Defined in GHC.TypeLits.Singletons sing :: Sing ConsSymbolSym0 # | |||||||||||||||||||||||||||||
SingI CharToNatSym0 Source # | |||||||||||||||||||||||||||||
Defined in GHC.TypeLits.Singletons sing :: Sing CharToNatSym0 # | |||||||||||||||||||||||||||||
SingI UnconsSymbolSym0 Source # | |||||||||||||||||||||||||||||
Defined in GHC.TypeLits.Singletons | |||||||||||||||||||||||||||||
SuppressUnusedWarnings NatToCharSym0 Source # | |||||||||||||||||||||||||||||
Defined in GHC.TypeLits.Singletons suppressUnusedWarnings :: () # | |||||||||||||||||||||||||||||
SuppressUnusedWarnings ConsSymbolSym0 Source # | |||||||||||||||||||||||||||||
Defined in GHC.TypeLits.Singletons suppressUnusedWarnings :: () # | |||||||||||||||||||||||||||||
SuppressUnusedWarnings ShowCharSym0 Source # | |||||||||||||||||||||||||||||
Defined in Text.Show.Singletons suppressUnusedWarnings :: () # | |||||||||||||||||||||||||||||
SuppressUnusedWarnings CharToNatSym0 Source # | |||||||||||||||||||||||||||||
Defined in GHC.TypeLits.Singletons suppressUnusedWarnings :: () # | |||||||||||||||||||||||||||||
SuppressUnusedWarnings KnownCharSym0 Source # | |||||||||||||||||||||||||||||
Defined in GHC.TypeLits.Singletons suppressUnusedWarnings :: () # | |||||||||||||||||||||||||||||
SuppressUnusedWarnings UnconsSymbolSym0 Source # | |||||||||||||||||||||||||||||
Defined in GHC.TypeLits.Singletons suppressUnusedWarnings :: () # | |||||||||||||||||||||||||||||
SMonadFail m => SingI (FailSym0 :: TyFun [Char] (m a) -> Type) Source # | |||||||||||||||||||||||||||||
SuppressUnusedWarnings (FailSym0 :: TyFun [Char] (m a) -> Type) Source # | |||||||||||||||||||||||||||||
Defined in Control.Monad.Fail.Singletons suppressUnusedWarnings :: () # | |||||||||||||||||||||||||||||
Generic (URec Char p) | |||||||||||||||||||||||||||||
Defined in GHC.Generics
| |||||||||||||||||||||||||||||
Show (URec Char p) | Since: base-4.9.0.0 | ||||||||||||||||||||||||||||
Eq (URec Char p) | Since: base-4.9.0.0 | ||||||||||||||||||||||||||||
Ord (URec Char p) | Since: base-4.9.0.0 | ||||||||||||||||||||||||||||
type Demote Char Source # | |||||||||||||||||||||||||||||
Defined in GHC.TypeLits.Singletons.Internal | |||||||||||||||||||||||||||||
type Sing Source # | |||||||||||||||||||||||||||||
Defined in GHC.TypeLits.Singletons.Internal | |||||||||||||||||||||||||||||
type MaxBound Source # | |||||||||||||||||||||||||||||
Defined in Data.Singletons.Base.Enum type MaxBound | |||||||||||||||||||||||||||||
type MinBound Source # | |||||||||||||||||||||||||||||
Defined in Data.Singletons.Base.Enum type MinBound | |||||||||||||||||||||||||||||
data URec Char (p :: k) | Used for marking occurrences of Since: base-4.9.0.0 | ||||||||||||||||||||||||||||
type FromEnum (a :: Char) Source # | |||||||||||||||||||||||||||||
Defined in Data.Singletons.Base.Enum | |||||||||||||||||||||||||||||
type Pred (arg :: Char) Source # | |||||||||||||||||||||||||||||
Defined in Data.Singletons.Base.Enum | |||||||||||||||||||||||||||||
type Succ (arg :: Char) Source # | |||||||||||||||||||||||||||||
Defined in Data.Singletons.Base.Enum | |||||||||||||||||||||||||||||
type ToEnum a Source # | |||||||||||||||||||||||||||||
Defined in Data.Singletons.Base.Enum type ToEnum a | |||||||||||||||||||||||||||||
type Show_ (arg :: Char) Source # | |||||||||||||||||||||||||||||
Defined in Text.Show.Singletons | |||||||||||||||||||||||||||||
type Compare (a :: Char) (b :: Char) | |||||||||||||||||||||||||||||
Defined in Data.Type.Ord | |||||||||||||||||||||||||||||
type (arg :: Char) /= (arg1 :: Char) Source # | |||||||||||||||||||||||||||||
Defined in GHC.TypeLits.Singletons.Internal | |||||||||||||||||||||||||||||
type (x :: Char) == (y :: Char) Source # | |||||||||||||||||||||||||||||
Defined in GHC.TypeLits.Singletons.Internal | |||||||||||||||||||||||||||||
type (arg :: Char) < (arg1 :: Char) Source # | |||||||||||||||||||||||||||||
Defined in GHC.TypeLits.Singletons.Internal | |||||||||||||||||||||||||||||
type (arg :: Char) <= (arg1 :: Char) Source # | |||||||||||||||||||||||||||||
Defined in GHC.TypeLits.Singletons.Internal | |||||||||||||||||||||||||||||
type (arg :: Char) > (arg1 :: Char) Source # | |||||||||||||||||||||||||||||
Defined in GHC.TypeLits.Singletons.Internal | |||||||||||||||||||||||||||||
type (arg :: Char) >= (arg1 :: Char) Source # | |||||||||||||||||||||||||||||
Defined in GHC.TypeLits.Singletons.Internal | |||||||||||||||||||||||||||||
type Compare (a :: Char) (b :: Char) Source # | |||||||||||||||||||||||||||||
Defined in GHC.TypeLits.Singletons.Internal | |||||||||||||||||||||||||||||
type Max (arg :: Char) (arg1 :: Char) Source # | |||||||||||||||||||||||||||||
Defined in GHC.TypeLits.Singletons.Internal | |||||||||||||||||||||||||||||
type Min (arg :: Char) (arg1 :: Char) Source # | |||||||||||||||||||||||||||||
Defined in GHC.TypeLits.Singletons.Internal | |||||||||||||||||||||||||||||
type EnumFromTo (arg1 :: Char) (arg2 :: Char) Source # | |||||||||||||||||||||||||||||
Defined in Data.Singletons.Base.Enum | |||||||||||||||||||||||||||||
type ShowList (cs :: [Char]) x Source # | |||||||||||||||||||||||||||||
Defined in Text.Show.Singletons | |||||||||||||||||||||||||||||
type Apply NatToCharSym0 (a6989586621679570244 :: Natural) Source # | |||||||||||||||||||||||||||||
Defined in GHC.TypeLits.Singletons | |||||||||||||||||||||||||||||
type Apply CharToNatSym0 (a6989586621679570020 :: Char) Source # | |||||||||||||||||||||||||||||
Defined in GHC.TypeLits.Singletons | |||||||||||||||||||||||||||||
type Apply KnownCharSym0 (a6989586621679566102 :: Char) Source # | |||||||||||||||||||||||||||||
Defined in GHC.TypeLits.Singletons | |||||||||||||||||||||||||||||
type EnumFromThenTo (arg1 :: Char) (arg2 :: Char) (arg3 :: Char) Source # | |||||||||||||||||||||||||||||
Defined in Data.Singletons.Base.Enum | |||||||||||||||||||||||||||||
type ShowsPrec p (c :: Char) x Source # | |||||||||||||||||||||||||||||
Defined in Text.Show.Singletons | |||||||||||||||||||||||||||||
type Apply UnconsSymbolSym0 (a6989586621679569801 :: Symbol) Source # | |||||||||||||||||||||||||||||
Defined in GHC.TypeLits.Singletons | |||||||||||||||||||||||||||||
type Rep1 (URec Char :: k -> Type) | Since: base-4.9.0.0 | ||||||||||||||||||||||||||||
Defined in GHC.Generics | |||||||||||||||||||||||||||||
type Apply ConsSymbolSym0 (a6989586621679569296 :: Char) Source # | |||||||||||||||||||||||||||||
Defined in GHC.TypeLits.Singletons | |||||||||||||||||||||||||||||
type Apply ShowCharSym0 (a6989586621680208680 :: Char) Source # | |||||||||||||||||||||||||||||
Defined in Text.Show.Singletons | |||||||||||||||||||||||||||||
type Apply (FailSym0 :: TyFun [Char] (m a) -> Type) (a6989586621679549513 :: [Char]) Source # | |||||||||||||||||||||||||||||
type Rep (URec Char p) | Since: base-4.9.0.0 | ||||||||||||||||||||||||||||
Defined in GHC.Generics |
type family Sing :: k -> Type #
Instances
type Sing Source # | |
Defined in Data.Semigroup.Singletons.Internal.Wrappers | |
type Sing Source # | |
Defined in Data.Semigroup.Singletons.Internal.Wrappers | |
type Sing Source # | |
Defined in Data.Singletons.Base.Instances | |
type Sing Source # | |
Defined in GHC.TypeLits.Singletons.Internal | |
type Sing Source # | |
Defined in Data.Singletons.Base.Instances | |
type Sing Source # | |
Defined in Data.Singletons.Base.TypeError | |
type Sing Source # | |
Defined in Data.Singletons.Base.Instances | |
type Sing Source # | |
Defined in Data.Singletons.Base.Instances | |
type Sing Source # | |
Defined in GHC.TypeLits.Singletons.Internal | |
type Sing Source # | |
Defined in GHC.TypeLits.Singletons.Internal | |
type Sing Source # | |
Defined in Data.Singletons.Base.Instances | |
type Sing Source # | |
Defined in Data.Monoid.Singletons | |
type Sing Source # | |
Defined in Data.Monoid.Singletons | |
type Sing Source # | |
Defined in Data.Ord.Singletons | |
type Sing Source # | |
Defined in Data.Semigroup.Singletons.Internal.Wrappers | |
type Sing Source # | |
Defined in Data.Semigroup.Singletons.Internal.Wrappers | |
type Sing Source # | |
Defined in Data.Semigroup.Singletons.Internal.Wrappers | |
type Sing Source # | |
Defined in Data.Semigroup.Singletons.Internal.Wrappers | |
type Sing Source # | |
Defined in Data.Semigroup.Singletons.Internal.Wrappers | |
type Sing Source # | |
Defined in Data.Semigroup.Singletons.Internal.Wrappers | |
type Sing Source # | |
Defined in Data.Semigroup.Singletons.Internal.Wrappers | |
type Sing Source # | |
Defined in Data.Semigroup.Singletons.Internal.Wrappers | |
type Sing Source # | |
Defined in Data.Singletons.Base.Instances | |
type Sing Source # | |
Defined in Data.Singletons.Base.Instances | |
type Sing Source # | A choice of singleton for the kind Conceivably, one could generalize this instance to `Sing @k` for
any kind We cannot produce explicit singleton values for everything in |
Defined in Data.Singletons.Base.TypeRepTYPE | |
type Sing Source # | |
Defined in Data.Singletons.Base.Instances | |
type Sing Source # | |
Defined in Data.Singletons.Base.Instances | |
type Sing Source # | |
Defined in Data.Proxy.Singletons | |
type Sing Source # | |
Defined in Data.Semigroup.Singletons | |
type Sing | |
Defined in Data.Singletons | |
type Sing | |
Defined in Data.Singletons | |
type Sing | |
Defined in Data.Singletons.Sigma | |
type Sing Source # | |
Defined in Data.Singletons.Base.Instances | |
type Sing Source # | |
Defined in Data.Functor.Const.Singletons | |
type Sing Source # | |
Defined in Data.Singletons.Base.Instances | |
type Sing Source # | |
Defined in Data.Functor.Product.Singletons | |
type Sing Source # | |
Defined in Data.Functor.Sum.Singletons | |
type Sing Source # | |
Defined in Data.Singletons.Base.Instances | |
type Sing Source # | |
Defined in Data.Functor.Compose.Singletons | |
type Sing Source # | |
Defined in Data.Singletons.Base.Instances | |
type Sing Source # | |
Defined in Data.Singletons.Base.Instances | |
type Sing Source # | |
Defined in Data.Singletons.Base.Instances |
A value-level witness for a type-level natural number. This is commonly
referred to as a singleton type, as for each n
, there is a single value
that inhabits the type
(aside from bottom).SNat
n
The definition of SNat
is intentionally left abstract. To obtain an SNat
value, use one of the following:
- The
natSing
method ofKnownNat
. - The
SNat
pattern synonym. - The
withSomeSNat
function, which creates anSNat
from aNatural
number.
Since: base-4.18.0.0
Instances
TestCoercion SNat | Since: base-4.18.0.0 |
Defined in GHC.TypeNats | |
TestEquality SNat | Since: base-4.18.0.0 |
Defined in GHC.TypeNats | |
Show (SNat n) | Since: base-4.18.0.0 |
Eq (SNat n) | Since: base-4.19.0.0 |
Ord (SNat n) | Since: base-4.19.0.0 |
pattern SNat :: () => KnownNat n => SNat n #
A explicitly bidirectional pattern synonym relating an SNat
to a
KnownNat
constraint.
As an expression: Constructs an explicit
value from an
implicit SNat
n
constraint:KnownNat
n
SNat @n ::KnownNat
n =>SNat
n
As a pattern: Matches on an explicit
value bringing
an implicit SNat
n
constraint into scope:KnownNat
n
f :: SNat
n -> ..
f SNat = {- SNat n in scope -}
Since: base-4.18.0.0
A value-level witness for a type-level symbol. This is commonly referred
to as a singleton type, as for each s
, there is a single value that
inhabits the type
(aside from bottom).SSymbol
s
The definition of SSymbol
is intentionally left abstract. To obtain an
SSymbol
value, use one of the following:
- The
symbolSing
method ofKnownSymbol
. - The
SSymbol
pattern synonym. - The
withSomeSSymbol
function, which creates anSSymbol
from aString
.
Since: base-4.18.0.0
Instances
TestCoercion SSymbol | Since: base-4.18.0.0 |
Defined in GHC.TypeLits | |
TestEquality SSymbol | Since: base-4.18.0.0 |
Defined in GHC.TypeLits | |
Show (SSymbol s) | Since: base-4.18.0.0 |
Eq (SSymbol s) | Since: base-4.19.0.0 |
Ord (SSymbol s) | Since: base-4.19.0.0 |
Defined in GHC.TypeLits |
pattern SSymbol :: () => KnownSymbol s => SSymbol s #
A explicitly bidirectional pattern synonym relating an SSymbol
to a
KnownSymbol
constraint.
As an expression: Constructs an explicit
value from an
implicit SSymbol
s
constraint:KnownSymbol
s
SSymbol @s ::KnownSymbol
s =>SSymbol
s
As a pattern: Matches on an explicit
value bringing
an implicit SSymbol
s
constraint into scope:KnownSymbol
s
f :: SSymbol
s -> ..
f SSymbol = {- SSymbol s in scope -}
Since: base-4.18.0.0
A value-level witness for a type-level character. This is commonly referred
to as a singleton type, as for each c
, there is a single value that
inhabits the type
(aside from bottom).SChar
c
The definition of SChar
is intentionally left abstract. To obtain an
SChar
value, use one of the following:
- The
charSing
method ofKnownChar
. - The
SChar
pattern synonym. - The
withSomeSChar
function, which creates anSChar
from aChar
.
Since: base-4.18.0.0
Instances
TestCoercion SChar | Since: base-4.18.0.0 |
Defined in GHC.TypeLits | |
TestEquality SChar | Since: base-4.18.0.0 |
Defined in GHC.TypeLits | |
Show (SChar c) | Since: base-4.18.0.0 |
Eq (SChar c) | Since: base-4.19.0.0 |
Ord (SChar c) | Since: base-4.19.0.0 |
pattern SChar :: () => KnownChar c => SChar c #
A explicitly bidirectional pattern synonym relating an SChar
to a
KnownChar
constraint.
As an expression: Constructs an explicit
value from an
implicit SChar
c
constraint:KnownChar
c
SChar @c ::KnownChar
c =>SChar
c
As a pattern: Matches on an explicit
value bringing
an implicit SChar
c
constraint into scope:KnownChar
c
f :: SChar
c -> ..
f SChar = {- SChar c in scope -}
Since: base-4.18.0.0
withKnownNat :: forall (n :: Nat) r. SNat n -> (KnownNat n => r) -> r #
withKnownSymbol :: forall (s :: Symbol) r. SSymbol s -> (KnownSymbol s => r) -> r #
Convert an explicit
value into an implicit SSymbol
s
constraint.KnownSymbol
s
Since: base-4.18.0.0
withKnownChar :: forall (c :: Char) r. SChar c -> (KnownChar c => r) -> r #
type family Error (str :: Symbol) :: a where ... Source #
A promoted version of error
. This implements Error
as a stuck type
family with a Symbol
argument. Depending on your needs, you might also
consider the following alternatives:
- Data.Singletons.Base.PolyError provides
PolyError
, which generalizes the argument to be kind-polymorphic. This allows passing additional information to the error besides rawSymbol
s. - Data.Singletons.Base.TypeError provides
TypeError
, a slightly modified version of the custom type error machinery found in GHC.TypeLits. This allows emitting error messages as compiler errors rather than as stuck type families.
type family ErrorWithoutStackTrace (str :: Symbol) :: a where ... Source #
The promotion of errorWithoutStackTrace
.
sErrorWithoutStackTrace :: forall (str :: Symbol) a. Sing str -> a Source #
The singleton for errorWithoutStackTrace
.
sUndefined :: HasCallStack => a Source #
The singleton for undefined
.
This class gives the integer associated with a type-level natural. There are instances of the class for every concrete literal: 0, 1, 2, etc.
Since: base-4.7.0.0
class KnownSymbol (n :: Symbol) #
This class gives the string associated with a type-level symbol. There are instances of the class for every concrete literal: "hello", etc.
Since: base-4.7.0.0
symbolVal :: forall (n :: Symbol) proxy. KnownSymbol n => proxy n -> String #
Since: base-4.7.0.0
type family (a :: Natural) ^ (b :: Natural) :: Natural where ... infixr 8 #
Exponentiation of type-level naturals.
Since: base-4.7.0.0
type (<=?) (m :: k) (n :: k) = OrdCond (Compare m n) 'True 'True 'False infix 4 #
Comparison (<=) of comparable types, as a function.
Since: base-4.16.0.0
(%<=?) :: forall (a :: Natural) (b :: Natural). Sing a -> Sing b -> Sing (a <=? b) infix 4 Source #
The singleton analogue of <=?
Note that, because of historical reasons in GHC's Natural
API, <=?
is incompatible (unification-wise) with <=
and the PEq
, SEq
,
POrd
, and SOrd
instances for Natural
. (a
does not
imply anything about <=?
b) ~ 'Truea
or any other <=
bPEq
/ POrd
relationships.
(Be aware that <=
in the paragraph above refers to <=
from the
POrd
typeclass, exported from Data.Ord.Singletons, and not
the <=
from GHC.TypeNats. The latter is simply a type alias for
(a
.)<=?
b) ~ 'True
This is provided here for the sake of completeness and for compatibility
with libraries with APIs built around <=?
. New code should use
CmpNat
, exposed through this library through the POrd
and SOrd
instances for Natural
.
type family Log2 (a :: Natural) :: Natural where ... #
Log base 2 (round down) of natural numbers.
Log 0
is undefined (i.e., it cannot be reduced).
Since: base-4.11.0.0
type family Div (a :: Natural) (b :: Natural) :: Natural where ... infixl 7 #
Division (round down) of natural numbers.
Div x 0
is undefined (i.e., it cannot be reduced).
Since: base-4.11.0.0
type family Mod (a :: Natural) (b :: Natural) :: Natural where ... infixl 7 #
Modulus of natural numbers.
Mod x 0
is undefined (i.e., it cannot be reduced).
Since: base-4.11.0.0
sQuot :: forall (x :: Natural) (y :: Natural). Sing x -> Sing y -> Sing (Quot x y) infixl 7 Source #
type family QuotRem (a :: Natural) (a1 :: Natural) :: (Natural, Natural) where ... Source #
QuotRem a_6989586621679568010 a_6989586621679568012 = Apply (Apply DivModSym0 a_6989586621679568010) a_6989586621679568012 |
type family ConsSymbol (a :: Char) (b :: Symbol) :: Symbol where ... #
Extending a type-level symbol with a type-level character
Since: base-4.16.0.0
sConsSymbol :: forall (x :: Char) (y :: Symbol). Sing x -> Sing y -> Sing (ConsSymbol x y) Source #
sUnconsSymbol :: forall (x :: Symbol). Sing x -> Sing (UnconsSymbol x) Source #
type family CharToNat (a :: Char) :: Natural where ... #
Convert a character to its Unicode code point (cf. ord
)
Since: base-4.16.0.0
type family NatToChar (a :: Natural) :: Char where ... #
Convert a Unicode code point to a character (cf. chr
)
Since: base-4.16.0.0
Defunctionalization symbols
data ErrorWithoutStackTraceSym0 (a1 :: TyFun Symbol a) Source #
Instances
SingI (ErrorWithoutStackTraceSym0 :: TyFun Symbol a -> Type) Source # | |
Defined in GHC.TypeLits.Singletons.Internal | |
SuppressUnusedWarnings (ErrorWithoutStackTraceSym0 :: TyFun Symbol a -> Type) Source # | |
Defined in GHC.TypeLits.Singletons.Internal suppressUnusedWarnings :: () # | |
type Apply (ErrorWithoutStackTraceSym0 :: TyFun Symbol k2 -> Type) (a6989586621679555924 :: Symbol) Source # | |
Defined in GHC.TypeLits.Singletons.Internal type Apply (ErrorWithoutStackTraceSym0 :: TyFun Symbol k2 -> Type) (a6989586621679555924 :: Symbol) = ErrorWithoutStackTrace a6989586621679555924 :: k2 |
type family ErrorWithoutStackTraceSym1 (a6989586621679555924 :: Symbol) :: a where ... Source #
ErrorWithoutStackTraceSym1 a6989586621679555924 = ErrorWithoutStackTrace a6989586621679555924 :: a |
type family UndefinedSym0 :: a where ... Source #
UndefinedSym0 = Undefined :: a |
data KnownNatSym0 (a :: TyFun Nat Constraint) Source #
Instances
SuppressUnusedWarnings KnownNatSym0 Source # | |
Defined in GHC.TypeLits.Singletons suppressUnusedWarnings :: () # | |
type Apply KnownNatSym0 (a6989586621679566098 :: Nat) Source # | |
Defined in GHC.TypeLits.Singletons |
type family KnownNatSym1 (a6989586621679566098 :: Nat) where ... Source #
KnownNatSym1 a6989586621679566098 = KnownNat a6989586621679566098 |
data KnownSymbolSym0 (a :: TyFun Symbol Constraint) Source #
Instances
SuppressUnusedWarnings KnownSymbolSym0 Source # | |
Defined in GHC.TypeLits.Singletons suppressUnusedWarnings :: () # | |
type Apply KnownSymbolSym0 (a6989586621679566100 :: Symbol) Source # | |
Defined in GHC.TypeLits.Singletons |
type family KnownSymbolSym1 (a6989586621679566100 :: Symbol) where ... Source #
KnownSymbolSym1 a6989586621679566100 = KnownSymbol a6989586621679566100 |
data KnownCharSym0 (a :: TyFun Char Constraint) Source #
Instances
SuppressUnusedWarnings KnownCharSym0 Source # | |
Defined in GHC.TypeLits.Singletons suppressUnusedWarnings :: () # | |
type Apply KnownCharSym0 (a6989586621679566102 :: Char) Source # | |
Defined in GHC.TypeLits.Singletons |
type family KnownCharSym1 (a6989586621679566102 :: Char) where ... Source #
KnownCharSym1 a6989586621679566102 = KnownChar a6989586621679566102 |
data (^@#@$) (a :: TyFun Natural (Natural ~> Natural)) infixr 8 Source #
Instances
SingI (^@#@$) Source # | |
Defined in GHC.TypeLits.Singletons.Internal | |
SuppressUnusedWarnings (^@#@$) Source # | |
Defined in GHC.TypeLits.Singletons.Internal suppressUnusedWarnings :: () # | |
type Apply (^@#@$) (a6989586621679556329 :: Natural) Source # | |
Defined in GHC.TypeLits.Singletons.Internal |
data (a6989586621679556329 :: Natural) ^@#@$$ (b :: TyFun Natural Natural) infixr 8 Source #
Instances
SingI1 (^@#@$$) Source # | |
SingI x => SingI ((^@#@$$) x :: TyFun Natural Natural -> Type) Source # | |
Defined in GHC.TypeLits.Singletons.Internal | |
SuppressUnusedWarnings ((^@#@$$) a6989586621679556329 :: TyFun Natural Natural -> Type) Source # | |
Defined in GHC.TypeLits.Singletons.Internal suppressUnusedWarnings :: () # | |
type Apply ((^@#@$$) a6989586621679556329 :: TyFun Natural Natural -> Type) (a6989586621679556330 :: Natural) Source # | |
type family (a6989586621679556329 :: Natural) ^@#@$$$ (a6989586621679556330 :: Natural) :: Natural where ... infixr 8 Source #
data (<=?@#@$) (a :: TyFun k (k ~> Bool)) infix 4 Source #
Instances
SingI ((<=?@#@$) :: TyFun Natural (Natural ~> Bool) -> Type) Source # | |
SuppressUnusedWarnings ((<=?@#@$) :: TyFun k (k ~> Bool) -> Type) Source # | |
Defined in GHC.TypeLits.Singletons.Internal suppressUnusedWarnings :: () # | |
type Apply ((<=?@#@$) :: TyFun k (k ~> Bool) -> Type) (a6989586621679556760 :: k) Source # | |
Defined in GHC.TypeLits.Singletons.Internal |
data (a6989586621679556760 :: k) <=?@#@$$ (b :: TyFun k Bool) infix 4 Source #
Instances
SingI1 ((<=?@#@$$) :: Natural -> TyFun Natural Bool -> Type) Source # | |
Defined in GHC.TypeLits.Singletons.Internal | |
SingI x => SingI ((<=?@#@$$) x :: TyFun Natural Bool -> Type) Source # | |
Defined in GHC.TypeLits.Singletons.Internal sing :: Sing ((<=?@#@$$) x) # | |
SuppressUnusedWarnings ((<=?@#@$$) a6989586621679556760 :: TyFun k Bool -> Type) Source # | |
Defined in GHC.TypeLits.Singletons.Internal suppressUnusedWarnings :: () # | |
type Apply ((<=?@#@$$) a6989586621679556760 :: TyFun k Bool -> Type) (a6989586621679556761 :: k) Source # | |
Defined in GHC.TypeLits.Singletons.Internal |
type family (a6989586621679556760 :: k) <=?@#@$$$ (a6989586621679556761 :: k) :: Bool where ... infix 4 Source #
data Log2Sym0 (a :: TyFun Natural Natural) Source #
Instances
SingI Log2Sym0 Source # | |
Defined in GHC.TypeLits.Singletons | |
SuppressUnusedWarnings Log2Sym0 Source # | |
Defined in GHC.TypeLits.Singletons suppressUnusedWarnings :: () # | |
type Apply Log2Sym0 (a6989586621679566742 :: Natural) Source # | |
Defined in GHC.TypeLits.Singletons |
data DivSym0 (a :: TyFun Natural (Natural ~> Natural)) infixl 7 Source #
Instances
SingI DivSym0 Source # | |
Defined in GHC.TypeLits.Singletons | |
SuppressUnusedWarnings DivSym0 Source # | |
Defined in GHC.TypeLits.Singletons suppressUnusedWarnings :: () # | |
type Apply DivSym0 (a6989586621679566965 :: Natural) Source # | |
Defined in GHC.TypeLits.Singletons |
data DivSym1 (a6989586621679566965 :: Natural) (b :: TyFun Natural Natural) infixl 7 Source #
Instances
SingI1 DivSym1 Source # | |
SingI x => SingI (DivSym1 x :: TyFun Natural Natural -> Type) Source # | |
Defined in GHC.TypeLits.Singletons | |
SuppressUnusedWarnings (DivSym1 a6989586621679566965 :: TyFun Natural Natural -> Type) Source # | |
Defined in GHC.TypeLits.Singletons suppressUnusedWarnings :: () # | |
type Apply (DivSym1 a6989586621679566965 :: TyFun Natural Natural -> Type) (a6989586621679566966 :: Natural) Source # | |
type family DivSym2 (a6989586621679566965 :: Natural) (a6989586621679566966 :: Natural) :: Natural where ... infixl 7 Source #
data ModSym0 (a :: TyFun Natural (Natural ~> Natural)) infixl 7 Source #
Instances
SingI ModSym0 Source # | |
Defined in GHC.TypeLits.Singletons | |
SuppressUnusedWarnings ModSym0 Source # | |
Defined in GHC.TypeLits.Singletons suppressUnusedWarnings :: () # | |
type Apply ModSym0 (a6989586621679567401 :: Natural) Source # | |
Defined in GHC.TypeLits.Singletons |
data ModSym1 (a6989586621679567401 :: Natural) (b :: TyFun Natural Natural) infixl 7 Source #
Instances
SingI1 ModSym1 Source # | |
SingI x => SingI (ModSym1 x :: TyFun Natural Natural -> Type) Source # | |
Defined in GHC.TypeLits.Singletons | |
SuppressUnusedWarnings (ModSym1 a6989586621679567401 :: TyFun Natural Natural -> Type) Source # | |
Defined in GHC.TypeLits.Singletons suppressUnusedWarnings :: () # | |
type Apply (ModSym1 a6989586621679567401 :: TyFun Natural Natural -> Type) (a6989586621679567402 :: Natural) Source # | |
type family ModSym2 (a6989586621679567401 :: Natural) (a6989586621679567402 :: Natural) :: Natural where ... infixl 7 Source #
data DivModSym0 (a :: TyFun Natural (Natural ~> (Natural, Natural))) Source #
Instances
SuppressUnusedWarnings DivModSym0 Source # | |
Defined in GHC.TypeLits.Singletons suppressUnusedWarnings :: () # | |
type Apply DivModSym0 (a6989586621679568024 :: Natural) Source # | |
Defined in GHC.TypeLits.Singletons |
data DivModSym1 (a6989586621679568024 :: Natural) (b :: TyFun Natural (Natural, Natural)) Source #
Instances
SuppressUnusedWarnings (DivModSym1 a6989586621679568024 :: TyFun Natural (Natural, Natural) -> Type) Source # | |
Defined in GHC.TypeLits.Singletons suppressUnusedWarnings :: () # | |
type Apply (DivModSym1 a6989586621679568024 :: TyFun Natural (Natural, Natural) -> Type) (a6989586621679568025 :: Natural) Source # | |
Defined in GHC.TypeLits.Singletons |
type family DivModSym2 (a6989586621679568024 :: Natural) (a6989586621679568025 :: Natural) :: (Natural, Natural) where ... Source #
DivModSym2 a6989586621679568024 a6989586621679568025 = DivMod a6989586621679568024 a6989586621679568025 |
data QuotSym0 (a :: TyFun Natural (Natural ~> Natural)) infixl 7 Source #
Instances
SuppressUnusedWarnings QuotSym0 Source # | |
Defined in GHC.TypeLits.Singletons suppressUnusedWarnings :: () # | |
type Apply QuotSym0 (a6989586621679568006 :: Natural) Source # | |
Defined in GHC.TypeLits.Singletons |
data QuotSym1 (a6989586621679568006 :: Natural) (b :: TyFun Natural Natural) infixl 7 Source #
type family QuotSym2 (a6989586621679568006 :: Natural) (a6989586621679568007 :: Natural) :: Natural where ... infixl 7 Source #
data RemSym0 (a :: TyFun Natural (Natural ~> Natural)) infixl 7 Source #
Instances
SuppressUnusedWarnings RemSym0 Source # | |
Defined in GHC.TypeLits.Singletons suppressUnusedWarnings :: () # | |
type Apply RemSym0 (a6989586621679567995 :: Natural) Source # | |
Defined in GHC.TypeLits.Singletons |
data RemSym1 (a6989586621679567995 :: Natural) (b :: TyFun Natural Natural) infixl 7 Source #
type family RemSym2 (a6989586621679567995 :: Natural) (a6989586621679567996 :: Natural) :: Natural where ... infixl 7 Source #
data QuotRemSym0 (a :: TyFun Natural (Natural ~> (Natural, Natural))) Source #
Instances
SuppressUnusedWarnings QuotRemSym0 Source # | |
Defined in GHC.TypeLits.Singletons suppressUnusedWarnings :: () # | |
type Apply QuotRemSym0 (a6989586621679568017 :: Natural) Source # | |
Defined in GHC.TypeLits.Singletons |
data QuotRemSym1 (a6989586621679568017 :: Natural) (b :: TyFun Natural (Natural, Natural)) Source #
Instances
SuppressUnusedWarnings (QuotRemSym1 a6989586621679568017 :: TyFun Natural (Natural, Natural) -> Type) Source # | |
Defined in GHC.TypeLits.Singletons suppressUnusedWarnings :: () # | |
type Apply (QuotRemSym1 a6989586621679568017 :: TyFun Natural (Natural, Natural) -> Type) (a6989586621679568018 :: Natural) Source # | |
Defined in GHC.TypeLits.Singletons |
type family QuotRemSym2 (a6989586621679568017 :: Natural) (a6989586621679568018 :: Natural) :: (Natural, Natural) where ... Source #
QuotRemSym2 a6989586621679568017 a6989586621679568018 = QuotRem a6989586621679568017 a6989586621679568018 |
data ConsSymbolSym0 (a :: TyFun Char (Symbol ~> Symbol)) Source #
Instances
SingI ConsSymbolSym0 Source # | |
Defined in GHC.TypeLits.Singletons sing :: Sing ConsSymbolSym0 # | |
SuppressUnusedWarnings ConsSymbolSym0 Source # | |
Defined in GHC.TypeLits.Singletons suppressUnusedWarnings :: () # | |
type Apply ConsSymbolSym0 (a6989586621679569296 :: Char) Source # | |
Defined in GHC.TypeLits.Singletons |
data ConsSymbolSym1 (a6989586621679569296 :: Char) (b :: TyFun Symbol Symbol) Source #
Instances
SingI1 ConsSymbolSym1 Source # | |
Defined in GHC.TypeLits.Singletons | |
SingI x => SingI (ConsSymbolSym1 x :: TyFun Symbol Symbol -> Type) Source # | |
Defined in GHC.TypeLits.Singletons sing :: Sing (ConsSymbolSym1 x) # | |
SuppressUnusedWarnings (ConsSymbolSym1 a6989586621679569296 :: TyFun Symbol Symbol -> Type) Source # | |
Defined in GHC.TypeLits.Singletons suppressUnusedWarnings :: () # | |
type Apply (ConsSymbolSym1 a6989586621679569296 :: TyFun Symbol Symbol -> Type) (a6989586621679569297 :: Symbol) Source # | |
Defined in GHC.TypeLits.Singletons type Apply (ConsSymbolSym1 a6989586621679569296 :: TyFun Symbol Symbol -> Type) (a6989586621679569297 :: Symbol) = ConsSymbol a6989586621679569296 a6989586621679569297 |
type family ConsSymbolSym2 (a6989586621679569296 :: Char) (a6989586621679569297 :: Symbol) :: Symbol where ... Source #
ConsSymbolSym2 a6989586621679569296 a6989586621679569297 = ConsSymbol a6989586621679569296 a6989586621679569297 |
data UnconsSymbolSym0 (a :: TyFun Symbol (Maybe (Char, Symbol))) Source #
Instances
SingI UnconsSymbolSym0 Source # | |
Defined in GHC.TypeLits.Singletons | |
SuppressUnusedWarnings UnconsSymbolSym0 Source # | |
Defined in GHC.TypeLits.Singletons suppressUnusedWarnings :: () # | |
type Apply UnconsSymbolSym0 (a6989586621679569801 :: Symbol) Source # | |
Defined in GHC.TypeLits.Singletons |
type family UnconsSymbolSym1 (a6989586621679569801 :: Symbol) :: Maybe (Char, Symbol) where ... Source #
UnconsSymbolSym1 a6989586621679569801 = UnconsSymbol a6989586621679569801 |
data CharToNatSym0 (a :: TyFun Char Natural) Source #
Instances
SingI CharToNatSym0 Source # | |
Defined in GHC.TypeLits.Singletons sing :: Sing CharToNatSym0 # | |
SuppressUnusedWarnings CharToNatSym0 Source # | |
Defined in GHC.TypeLits.Singletons suppressUnusedWarnings :: () # | |
type Apply CharToNatSym0 (a6989586621679570020 :: Char) Source # | |
Defined in GHC.TypeLits.Singletons |
type family CharToNatSym1 (a6989586621679570020 :: Char) :: Natural where ... Source #
CharToNatSym1 a6989586621679570020 = CharToNat a6989586621679570020 |
data NatToCharSym0 (a :: TyFun Natural Char) Source #
Instances
SingI NatToCharSym0 Source # | |
Defined in GHC.TypeLits.Singletons sing :: Sing NatToCharSym0 # | |
SuppressUnusedWarnings NatToCharSym0 Source # | |
Defined in GHC.TypeLits.Singletons suppressUnusedWarnings :: () # | |
type Apply NatToCharSym0 (a6989586621679570244 :: Natural) Source # | |
Defined in GHC.TypeLits.Singletons |
type family NatToCharSym1 (a6989586621679570244 :: Natural) :: Char where ... Source #
NatToCharSym1 a6989586621679570244 = NatToChar a6989586621679570244 |
Orphan instances
IsString Symbol Source # | |
fromString :: String -> Symbol # | |
Monoid Symbol Source # | |
Semigroup Symbol Source # | |
Show Symbol Source # | |
Eq Symbol Source # | This bogus instance is helpful for people who want to define functions over Symbols that will only be used at the type level or as singletons. |
Ord Symbol Source # | |