singletons-base
Copyright(C) 2014 Richard Eisenberg
LicenseBSD-style (see LICENSE)
MaintainerRyan Scott
Stabilityexperimental
Portabilitynon-portable
Safe HaskellNone
LanguageGHC2021

GHC.TypeLits.Singletons

Description

Defines and exports singletons useful for the Natural, Symbol, and Char kinds.

Synopsis

Documentation

data Natural #

Natural number

Invariant: numbers <= 0xffffffffffffffff use the NS constructor

Instances

Instances details
PrintfArg Natural #

Since: base-4.8.0.0

Instance details

Defined in Text.Printf

NFData Natural #

Since: deepseq-1.4.0.0

Instance details

Defined in Control.DeepSeq

Methods

rnf :: Natural -> () #

Enum Natural #

Since: base-4.8.0.0

Instance details

Defined in GHC.Internal.Enum

Ix Natural #

Since: base-4.8.0.0

Instance details

Defined in GHC.Internal.Ix

Num Natural #

Note that Natural's Num instance isn't a ring: no element but 0 has an additive inverse. It is a semiring though.

Since: base-4.8.0.0

Instance details

Defined in GHC.Internal.Num

Integral Natural #

Since: base-4.8.0.0

Instance details

Defined in GHC.Internal.Real

Real Natural #

Since: base-4.8.0.0

Instance details

Defined in GHC.Internal.Real

Show Natural #

Since: base-4.8.0.0

Instance details

Defined in GHC.Internal.Show

Eq Natural # 
Instance details

Defined in GHC.Num.Natural

Methods

(==) :: Natural -> Natural -> Bool #

(/=) :: Natural -> Natural -> Bool #

Ord Natural # 
Instance details

Defined in GHC.Num.Natural

Hashable Natural # 
Instance details

Defined in Data.Hashable.Class

Methods

hashWithSalt :: Int -> Natural -> Int #

hash :: Natural -> Int #

SingKind Natural Source # 
Instance details

Defined in GHC.TypeLits.Singletons.Internal

Associated Types

type Demote Natural 
Instance details

Defined in GHC.TypeLits.Singletons.Internal

Methods

fromSing :: forall (a :: Natural). Sing a -> Demote Natural #

toSing :: Demote Natural -> SomeSing Natural #

SDecide Natural Source # 
Instance details

Defined in GHC.TypeLits.Singletons.Internal

Methods

(%~) :: forall (a :: Natural) (b :: Natural). Sing a -> Sing b -> Decision (a :~: b) #

PEq Natural Source # 
Instance details

Defined in GHC.TypeLits.Singletons.Internal

Associated Types

type (x :: Natural) == (y :: Natural) 
Instance details

Defined in GHC.TypeLits.Singletons.Internal

type (x :: Natural) == (y :: Natural) = DefaultEq x y
type (arg :: Natural) /= (arg1 :: Natural) 
Instance details

Defined in GHC.TypeLits.Singletons.Internal

type (arg :: Natural) /= (arg1 :: Natural)
SEq Natural Source # 
Instance details

Defined in GHC.TypeLits.Singletons.Internal

Methods

(%==) :: forall (t1 :: Natural) (t2 :: Natural). Sing t1 -> Sing t2 -> Sing (t1 == t2) Source #

(%/=) :: forall (t1 :: Natural) (t2 :: Natural). Sing t1 -> Sing t2 -> Sing (t1 /= t2) Source #

POrd Natural Source # 
Instance details

Defined in GHC.TypeLits.Singletons.Internal

Associated Types

type Compare (a :: Natural) (b :: Natural) 
Instance details

Defined in GHC.TypeLits.Singletons.Internal

type Compare (a :: Natural) (b :: Natural) = CmpNat a b
type (arg :: Natural) < (arg1 :: Natural) 
Instance details

Defined in GHC.TypeLits.Singletons.Internal

type (arg :: Natural) < (arg1 :: Natural)
type (arg :: Natural) <= (arg1 :: Natural) 
Instance details

Defined in GHC.TypeLits.Singletons.Internal

type (arg :: Natural) <= (arg1 :: Natural)
type (arg :: Natural) > (arg1 :: Natural) 
Instance details

Defined in GHC.TypeLits.Singletons.Internal

type (arg :: Natural) > (arg1 :: Natural)
type (arg :: Natural) >= (arg1 :: Natural) 
Instance details

Defined in GHC.TypeLits.Singletons.Internal

type (arg :: Natural) >= (arg1 :: Natural)
type Max (arg :: Natural) (arg1 :: Natural) 
Instance details

Defined in GHC.TypeLits.Singletons.Internal

type Max (arg :: Natural) (arg1 :: Natural)
type Min (arg :: Natural) (arg1 :: Natural) 
Instance details

Defined in GHC.TypeLits.Singletons.Internal

type Min (arg :: Natural) (arg1 :: Natural)
SOrd Natural Source # 
Instance details

Defined in GHC.TypeLits.Singletons.Internal

Methods

sCompare :: forall (t1 :: Natural) (t2 :: Natural). Sing t1 -> Sing t2 -> Sing (Compare t1 t2) Source #

(%<) :: forall (t1 :: Natural) (t2 :: Natural). Sing t1 -> Sing t2 -> Sing (t1 < t2) Source #

(%<=) :: forall (t1 :: Natural) (t2 :: Natural). Sing t1 -> Sing t2 -> Sing (t1 <= t2) Source #

(%>) :: forall (t1 :: Natural) (t2 :: Natural). Sing t1 -> Sing t2 -> Sing (t1 > t2) Source #

(%>=) :: forall (t1 :: Natural) (t2 :: Natural). Sing t1 -> Sing t2 -> Sing (t1 >= t2) Source #

sMax :: forall (t1 :: Natural) (t2 :: Natural). Sing t1 -> Sing t2 -> Sing (Max t1 t2) Source #

sMin :: forall (t1 :: Natural) (t2 :: Natural). Sing t1 -> Sing t2 -> Sing (Min t1 t2) Source #

PEnum Natural Source # 
Instance details

Defined in Data.Singletons.Base.Enum

Associated Types

type Succ (a :: Natural) 
Instance details

Defined in Data.Singletons.Base.Enum

type Succ (a :: Natural)
type Pred (a :: Natural) 
Instance details

Defined in Data.Singletons.Base.Enum

type Pred (a :: Natural)
type ToEnum a 
Instance details

Defined in Data.Singletons.Base.Enum

type ToEnum a
type FromEnum (a :: Natural) 
Instance details

Defined in Data.Singletons.Base.Enum

type FromEnum (a :: Natural)
type EnumFromTo (a1 :: Natural) (a2 :: Natural) 
Instance details

Defined in Data.Singletons.Base.Enum

type EnumFromTo (a1 :: Natural) (a2 :: Natural)
type EnumFromThenTo (a1 :: Natural) (a2 :: Natural) (a3 :: Natural) 
Instance details

Defined in Data.Singletons.Base.Enum

type EnumFromThenTo (a1 :: Natural) (a2 :: Natural) (a3 :: Natural)
SEnum Natural Source # 
Instance details

Defined in Data.Singletons.Base.Enum

Methods

sSucc :: forall (t :: Natural). Sing t -> Sing (Succ t) Source #

sPred :: forall (t :: Natural). Sing t -> Sing (Pred t) Source #

sToEnum :: forall (t :: Natural). Sing t -> Sing (ToEnum t :: Natural) Source #

sFromEnum :: forall (t :: Natural). Sing t -> Sing (FromEnum t) Source #

sEnumFromTo :: forall (t1 :: Natural) (t2 :: Natural). Sing t1 -> Sing t2 -> Sing (EnumFromTo t1 t2) Source #

sEnumFromThenTo :: forall (t1 :: Natural) (t2 :: Natural) (t3 :: Natural). Sing t1 -> Sing t2 -> Sing t3 -> Sing (EnumFromThenTo t1 t2 t3) Source #

PNum Natural Source # 
Instance details

Defined in GHC.Num.Singletons

Associated Types

type (a :: Natural) + (b :: Natural) 
Instance details

Defined in GHC.Num.Singletons

type (a :: Natural) + (b :: Natural) = a + b
type (a :: Natural) - (b :: Natural) 
Instance details

Defined in GHC.Num.Singletons

type (a :: Natural) - (b :: Natural) = a - b
type (a :: Natural) * (b :: Natural) 
Instance details

Defined in GHC.Num.Singletons

type (a :: Natural) * (b :: Natural) = a * b
type Negate (a :: Natural) 
Instance details

Defined in GHC.Num.Singletons

type Negate (a :: Natural) = Error "Cannot negate a natural number" :: Natural
type Abs (a :: Natural) 
Instance details

Defined in GHC.Num.Singletons

type Abs (a :: Natural) = a
type Signum (a :: Natural) 
Instance details

Defined in GHC.Num.Singletons

type Signum (a :: Natural)
type FromInteger a 
Instance details

Defined in GHC.Num.Singletons

type FromInteger a = a
SNum Natural Source # 
Instance details

Defined in GHC.Num.Singletons

Methods

(%+) :: forall (t1 :: Natural) (t2 :: Natural). Sing t1 -> Sing t2 -> Sing (t1 + t2) Source #

(%-) :: forall (t1 :: Natural) (t2 :: Natural). Sing t1 -> Sing t2 -> Sing (t1 - t2) Source #

(%*) :: forall (t1 :: Natural) (t2 :: Natural). Sing t1 -> Sing t2 -> Sing (t1 * t2) Source #

sNegate :: forall (t :: Natural). Sing t -> Sing (Negate t) Source #

sAbs :: forall (t :: Natural). Sing t -> Sing (Abs t) Source #

sSignum :: forall (t :: Natural). Sing t -> Sing (Signum t) Source #

sFromInteger :: forall (t :: Natural). Sing t -> Sing (FromInteger t :: Natural) Source #

PShow Natural Source # 
Instance details

Defined in Text.Show.Singletons

Associated Types

type ShowsPrec _1 (n :: Natural) x 
Instance details

Defined in Text.Show.Singletons

type ShowsPrec _1 (n :: Natural) x
type Show_ (arg :: Natural) 
Instance details

Defined in Text.Show.Singletons

type Show_ (arg :: Natural)
type ShowList (arg1 :: [Natural]) arg2 
Instance details

Defined in Text.Show.Singletons

type ShowList (arg1 :: [Natural]) arg2
SShow Natural Source # 
Instance details

Defined in Text.Show.Singletons

Methods

sShowsPrec :: forall (t1 :: Natural) (t2 :: Natural) (t3 :: Symbol). Sing t1 -> Sing t2 -> Sing t3 -> Sing (ShowsPrec t1 t2 t3) Source #

sShow_ :: forall (t :: Natural). Sing t -> Sing (Show_ t) Source #

sShowList :: forall (t1 :: [Natural]) (t2 :: Symbol). Sing t1 -> Sing t2 -> Sing (ShowList t1 t2) Source #

KnownNat n => HasResolution (n :: Nat) #

For example, Fixed 1000 will give you a Fixed with a resolution of 1000.

Instance details

Defined in Data.Fixed

Methods

resolution :: p n -> Integer #

TestCoercion SNat #

Since: base-4.18.0.0

Instance details

Defined in GHC.Internal.TypeNats

Methods

testCoercion :: forall (a :: Nat) (b :: Nat). SNat a -> SNat b -> Maybe (Coercion a b) #

TestEquality SNat #

Since: base-4.18.0.0

Instance details

Defined in GHC.Internal.TypeNats

Methods

testEquality :: forall (a :: Nat) (b :: Nat). SNat a -> SNat b -> Maybe (a :~: b) #

KnownNat n => SingI (n :: Nat) Source # 
Instance details

Defined in GHC.TypeLits.Singletons.Internal

Methods

sing :: Sing n #

SShow a => SingI2 (ShowsPrecSym2 :: Natural -> a -> TyFun Symbol Symbol -> Type) Source # 
Instance details

Defined in Text.Show.Singletons

Methods

liftSing2 :: forall (x :: Natural) (y :: a). Sing x -> Sing y -> Sing (ShowsPrecSym2 x y) #

SingI1 DivSym1 Source # 
Instance details

Defined in GHC.TypeLits.Singletons

Methods

liftSing :: forall (x :: Natural). Sing x -> Sing (DivSym1 x) #

SingI1 ModSym1 Source # 
Instance details

Defined in GHC.TypeLits.Singletons

Methods

liftSing :: forall (x :: Natural). Sing x -> Sing (ModSym1 x) #

SingI1 (^@#@$$) Source # 
Instance details

Defined in GHC.TypeLits.Singletons.Internal

Methods

liftSing :: forall (x :: Natural). Sing x -> Sing ((^@#@$$) x) #

SingI1 (SplitAtSym1 :: Natural -> TyFun (NonEmpty a) ([a], [a]) -> Type) Source # 
Instance details

Defined in Data.List.NonEmpty.Singletons

Methods

liftSing :: forall (x :: Natural). Sing x -> Sing (SplitAtSym1 x :: TyFun (NonEmpty a) ([a], [a]) -> Type) #

SingI1 (DropSym1 :: Natural -> TyFun (NonEmpty a) [a] -> Type) Source # 
Instance details

Defined in Data.List.NonEmpty.Singletons

Methods

liftSing :: forall (x :: Natural). Sing x -> Sing (DropSym1 x :: TyFun (NonEmpty a) [a] -> Type) #

SingI1 (TakeSym1 :: Natural -> TyFun (NonEmpty a) [a] -> Type) Source # 
Instance details

Defined in Data.List.NonEmpty.Singletons

Methods

liftSing :: forall (x :: Natural). Sing x -> Sing (TakeSym1 x :: TyFun (NonEmpty a) [a] -> Type) #

SingI1 (SplitAtSym1 :: Natural -> TyFun [a] ([a], [a]) -> Type) Source # 
Instance details

Defined in Data.List.Singletons.Internal

Methods

liftSing :: forall (x :: Natural). Sing x -> Sing (SplitAtSym1 x :: TyFun [a] ([a], [a]) -> Type) #

SingI1 (DropSym1 :: Natural -> TyFun [a] [a] -> Type) Source # 
Instance details

Defined in Data.List.Singletons.Internal

Methods

liftSing :: forall (x :: Natural). Sing x -> Sing (DropSym1 x :: TyFun [a] [a] -> Type) #

SingI1 (TakeSym1 :: Natural -> TyFun [a] [a] -> Type) Source # 
Instance details

Defined in Data.List.Singletons.Internal

Methods

liftSing :: forall (x :: Natural). Sing x -> Sing (TakeSym1 x :: TyFun [a] [a] -> Type) #

SShow a => SingI1 (ShowsPrecSym1 :: Natural -> TyFun a (Symbol ~> Symbol) -> Type) Source # 
Instance details

Defined in Text.Show.Singletons

Methods

liftSing :: forall (x :: Natural). Sing x -> Sing (ShowsPrecSym1 x :: TyFun a (Symbol ~> Symbol) -> Type) #

SingI1 (ReplicateSym1 :: Natural -> TyFun a [a] -> Type) Source # 
Instance details

Defined in Data.List.Singletons.Internal

Methods

liftSing :: forall (x :: Natural). Sing x -> Sing (ReplicateSym1 x :: TyFun a [a] -> Type) #

SingI1 ((<=?@#@$$) :: Natural -> TyFun Natural Bool -> Type) Source # 
Instance details

Defined in GHC.TypeLits.Singletons.Internal

Methods

liftSing :: forall (x :: Natural). Sing x -> Sing ((<=?@#@$$) x) #

SEq a => SingI1 (ElemIndexSym1 :: a -> TyFun [a] (Maybe Natural) -> Type) Source # 
Instance details

Defined in Data.List.Singletons.Internal

Methods

liftSing :: forall (x :: a). Sing x -> Sing (ElemIndexSym1 x) #

SEq a => SingI1 (ElemIndicesSym1 :: a -> TyFun [a] [Natural] -> Type) Source # 
Instance details

Defined in Data.List.Singletons.Internal

Methods

liftSing :: forall (x :: a). Sing x -> Sing (ElemIndicesSym1 x) #

SApplicative m => SingI1 (ReplicateM_Sym1 :: Natural -> TyFun (m a) (m ()) -> Type) Source # 
Instance details

Defined in Control.Monad.Singletons

Methods

liftSing :: forall (x :: Natural). Sing x -> Sing (ReplicateM_Sym1 x :: TyFun (m a) (m ()) -> Type) #

SApplicative m => SingI1 (ReplicateMSym1 :: Natural -> TyFun (m a) (m [a]) -> Type) Source # 
Instance details

Defined in Control.Monad.Singletons

Methods

liftSing :: forall (x :: Natural). Sing x -> Sing (ReplicateMSym1 x :: TyFun (m a) (m [a]) -> Type) #

SingI1 ((!!@#@$$) :: NonEmpty a -> TyFun Natural a -> Type) Source # 
Instance details

Defined in Data.List.NonEmpty.Singletons

Methods

liftSing :: forall (x :: NonEmpty a). Sing x -> Sing ((!!@#@$$) x) #

SingI1 ((!!@#@$$) :: [a] -> TyFun Natural a -> Type) Source # 
Instance details

Defined in Data.List.Singletons.Internal

Methods

liftSing :: forall (x :: [a]). Sing x -> Sing ((!!@#@$$) x) #

SingI DivSym0 Source # 
Instance details

Defined in GHC.TypeLits.Singletons

Methods

sing :: Sing DivSym0 #

SingI ModSym0 Source # 
Instance details

Defined in GHC.TypeLits.Singletons

Methods

sing :: Sing ModSym0 #

SingI (^@#@$) Source # 
Instance details

Defined in GHC.TypeLits.Singletons.Internal

Methods

sing :: Sing (^@#@$) #

SingI Log2Sym0 Source # 
Instance details

Defined in GHC.TypeLits.Singletons

Methods

sing :: Sing Log2Sym0 #

SingI NatToCharSym0 Source # 
Instance details

Defined in GHC.TypeLits.Singletons

SingI CharToNatSym0 Source # 
Instance details

Defined in GHC.TypeLits.Singletons

SuppressUnusedWarnings KnownNatSym0 Source # 
Instance details

Defined in GHC.TypeLits.Singletons

SuppressUnusedWarnings DivSym0 Source # 
Instance details

Defined in GHC.TypeLits.Singletons

SuppressUnusedWarnings ModSym0 Source # 
Instance details

Defined in GHC.TypeLits.Singletons

SuppressUnusedWarnings QuotSym0 Source # 
Instance details

Defined in GHC.TypeLits.Singletons

SuppressUnusedWarnings RemSym0 Source # 
Instance details

Defined in GHC.TypeLits.Singletons

SuppressUnusedWarnings (^@#@$) Source # 
Instance details

Defined in GHC.TypeLits.Singletons.Internal

SuppressUnusedWarnings DivModSym0 Source # 
Instance details

Defined in GHC.TypeLits.Singletons

SuppressUnusedWarnings QuotRemSym0 Source # 
Instance details

Defined in GHC.TypeLits.Singletons

SuppressUnusedWarnings Log2Sym0 Source # 
Instance details

Defined in GHC.TypeLits.Singletons

SuppressUnusedWarnings NatToCharSym0 Source # 
Instance details

Defined in GHC.TypeLits.Singletons

SuppressUnusedWarnings CharToNatSym0 Source # 
Instance details

Defined in GHC.TypeLits.Singletons

SingI ((!!@#@$) :: TyFun (NonEmpty a) (Natural ~> a) -> Type) Source # 
Instance details

Defined in Data.List.NonEmpty.Singletons

Methods

sing :: Sing ((!!@#@$) :: TyFun (NonEmpty a) (Natural ~> a) -> Type) #

SingI (LengthSym0 :: TyFun (NonEmpty a) Natural -> Type) Source # 
Instance details

Defined in Data.List.NonEmpty.Singletons

Methods

sing :: Sing (LengthSym0 :: TyFun (NonEmpty a) Natural -> Type) #

SingI (FindIndexSym0 :: TyFun (a ~> Bool) ([a] ~> Maybe Natural) -> Type) Source # 
Instance details

Defined in Data.List.Singletons.Internal

Methods

sing :: Sing (FindIndexSym0 :: TyFun (a ~> Bool) ([a] ~> Maybe Natural) -> Type) #

SingI (FindIndicesSym0 :: TyFun (a ~> Bool) ([a] ~> [Natural]) -> Type) Source # 
Instance details

Defined in Data.List.Singletons.Internal

Methods

sing :: Sing (FindIndicesSym0 :: TyFun (a ~> Bool) ([a] ~> [Natural]) -> Type) #

SingI (SplitAtSym0 :: TyFun Natural (NonEmpty a ~> ([a], [a])) -> Type) Source # 
Instance details

Defined in Data.List.NonEmpty.Singletons

Methods

sing :: Sing (SplitAtSym0 :: TyFun Natural (NonEmpty a ~> ([a], [a])) -> Type) #

SingI (DropSym0 :: TyFun Natural (NonEmpty a ~> [a]) -> Type) Source # 
Instance details

Defined in Data.List.NonEmpty.Singletons

Methods

sing :: Sing (DropSym0 :: TyFun Natural (NonEmpty a ~> [a]) -> Type) #

SingI (TakeSym0 :: TyFun Natural (NonEmpty a ~> [a]) -> Type) Source # 
Instance details

Defined in Data.List.NonEmpty.Singletons

Methods

sing :: Sing (TakeSym0 :: TyFun Natural (NonEmpty a ~> [a]) -> Type) #

SingI (SplitAtSym0 :: TyFun Natural ([a] ~> ([a], [a])) -> Type) Source # 
Instance details

Defined in Data.List.Singletons.Internal

Methods

sing :: Sing (SplitAtSym0 :: TyFun Natural ([a] ~> ([a], [a])) -> Type) #

SingI (DropSym0 :: TyFun Natural ([a] ~> [a]) -> Type) Source # 
Instance details

Defined in Data.List.Singletons.Internal

Methods

sing :: Sing (DropSym0 :: TyFun Natural ([a] ~> [a]) -> Type) #

SingI (TakeSym0 :: TyFun Natural ([a] ~> [a]) -> Type) Source # 
Instance details

Defined in Data.List.Singletons.Internal

Methods

sing :: Sing (TakeSym0 :: TyFun Natural ([a] ~> [a]) -> Type) #

SShow a => SingI (ShowsPrecSym0 :: TyFun Natural (a ~> (Symbol ~> Symbol)) -> Type) Source # 
Instance details

Defined in Text.Show.Singletons

SingI (ReplicateSym0 :: TyFun Natural (a ~> [a]) -> Type) Source # 
Instance details

Defined in Data.List.Singletons.Internal

Methods

sing :: Sing (ReplicateSym0 :: TyFun Natural (a ~> [a]) -> Type) #

SEnum a => SingI (ToEnumSym0 :: TyFun Natural a -> Type) Source # 
Instance details

Defined in Data.Singletons.Base.Enum

Methods

sing :: Sing (ToEnumSym0 :: TyFun Natural a -> Type) #

SNum a => SingI (FromIntegerSym0 :: TyFun Natural a -> Type) Source # 
Instance details

Defined in GHC.Num.Singletons

SingI ((!!@#@$) :: TyFun [a] (Natural ~> a) -> Type) Source # 
Instance details

Defined in Data.List.Singletons.Internal

Methods

sing :: Sing ((!!@#@$) :: TyFun [a] (Natural ~> a) -> Type) #

SEq a => SingI (ElemIndexSym0 :: TyFun a ([a] ~> Maybe Natural) -> Type) Source # 
Instance details

Defined in Data.List.Singletons.Internal

Methods

sing :: Sing (ElemIndexSym0 :: TyFun a ([a] ~> Maybe Natural) -> Type) #

SEq a => SingI (ElemIndicesSym0 :: TyFun a ([a] ~> [Natural]) -> Type) Source # 
Instance details

Defined in Data.List.Singletons.Internal

Methods

sing :: Sing (ElemIndicesSym0 :: TyFun a ([a] ~> [Natural]) -> Type) #

SEnum a => SingI (FromEnumSym0 :: TyFun a Natural -> Type) Source # 
Instance details

Defined in Data.Singletons.Base.Enum

Methods

sing :: Sing (FromEnumSym0 :: TyFun a Natural -> Type) #

SingI ((<=?@#@$) :: TyFun Natural (Natural ~> Bool) -> Type) Source # 
Instance details

Defined in GHC.TypeLits.Singletons.Internal

SingI x => SingI (DivSym1 x :: TyFun Natural Natural -> Type) Source # 
Instance details

Defined in GHC.TypeLits.Singletons

Methods

sing :: Sing (DivSym1 x) #

SingI x => SingI (ModSym1 x :: TyFun Natural Natural -> Type) Source # 
Instance details

Defined in GHC.TypeLits.Singletons

Methods

sing :: Sing (ModSym1 x) #

SingI x => SingI ((^@#@$$) x :: TyFun Natural Natural -> Type) Source # 
Instance details

Defined in GHC.TypeLits.Singletons.Internal

Methods

sing :: Sing ((^@#@$$) x) #

SuppressUnusedWarnings ((!!@#@$) :: TyFun (NonEmpty a) (Natural ~> a) -> Type) Source # 
Instance details

Defined in Data.List.NonEmpty.Singletons

SuppressUnusedWarnings (LengthSym0 :: TyFun (NonEmpty a) Natural -> Type) Source # 
Instance details

Defined in Data.List.NonEmpty.Singletons

SuppressUnusedWarnings (FindIndexSym0 :: TyFun (a ~> Bool) ([a] ~> Maybe Natural) -> Type) Source # 
Instance details

Defined in Data.List.Singletons.Internal

SuppressUnusedWarnings (FindIndicesSym0 :: TyFun (a ~> Bool) ([a] ~> [Natural]) -> Type) Source # 
Instance details

Defined in Data.List.Singletons.Internal

SuppressUnusedWarnings (SplitAtSym0 :: TyFun Natural (NonEmpty a ~> ([a], [a])) -> Type) Source # 
Instance details

Defined in Data.List.NonEmpty.Singletons

SuppressUnusedWarnings (DropSym0 :: TyFun Natural (NonEmpty a ~> [a]) -> Type) Source # 
Instance details

Defined in Data.List.NonEmpty.Singletons

SuppressUnusedWarnings (TakeSym0 :: TyFun Natural (NonEmpty a ~> [a]) -> Type) Source # 
Instance details

Defined in Data.List.NonEmpty.Singletons

SuppressUnusedWarnings (SplitAtSym0 :: TyFun Natural ([a] ~> ([a], [a])) -> Type) Source # 
Instance details

Defined in Data.List.Singletons.Internal

SuppressUnusedWarnings (DropSym0 :: TyFun Natural ([a] ~> [a]) -> Type) Source # 
Instance details

Defined in Data.List.Singletons.Internal

SuppressUnusedWarnings (TakeSym0 :: TyFun Natural ([a] ~> [a]) -> Type) Source # 
Instance details

Defined in Data.List.Singletons.Internal

SuppressUnusedWarnings (ShowsPrecSym0 :: TyFun Natural (a ~> (Symbol ~> Symbol)) -> Type) Source # 
Instance details

Defined in Text.Show.Singletons

SuppressUnusedWarnings (ReplicateSym0 :: TyFun Natural (a ~> [a]) -> Type) Source # 
Instance details

Defined in Data.List.Singletons.Internal

SuppressUnusedWarnings (DivSym1 a6989586621679378709 :: TyFun Natural Natural -> Type) Source # 
Instance details

Defined in GHC.TypeLits.Singletons

SuppressUnusedWarnings (ModSym1 a6989586621679379154 :: TyFun Natural Natural -> Type) Source # 
Instance details

Defined in GHC.TypeLits.Singletons

SuppressUnusedWarnings (QuotSym1 a6989586621679379824 :: TyFun Natural Natural -> Type) Source # 
Instance details

Defined in GHC.TypeLits.Singletons

SuppressUnusedWarnings (RemSym1 a6989586621679379813 :: TyFun Natural Natural -> Type) Source # 
Instance details

Defined in GHC.TypeLits.Singletons

SuppressUnusedWarnings ((^@#@$$) a6989586621679369666 :: TyFun Natural Natural -> Type) Source # 
Instance details

Defined in GHC.TypeLits.Singletons.Internal

SuppressUnusedWarnings (DivModSym1 a6989586621679379842 :: TyFun Natural (Natural, Natural) -> Type) Source # 
Instance details

Defined in GHC.TypeLits.Singletons

SuppressUnusedWarnings (QuotRemSym1 a6989586621679379835 :: TyFun Natural (Natural, Natural) -> Type) Source # 
Instance details

Defined in GHC.TypeLits.Singletons

SuppressUnusedWarnings (ToEnumSym0 :: TyFun Natural a -> Type) Source # 
Instance details

Defined in Data.Singletons.Base.Enum

SuppressUnusedWarnings (FromIntegerSym0 :: TyFun Natural a -> Type) Source # 
Instance details

Defined in GHC.Num.Singletons

SuppressUnusedWarnings ((!!@#@$) :: TyFun [a] (Natural ~> a) -> Type) Source # 
Instance details

Defined in Data.List.Singletons.Internal

SuppressUnusedWarnings (ElemIndexSym0 :: TyFun a ([a] ~> Maybe Natural) -> Type) Source # 
Instance details

Defined in Data.List.Singletons.Internal

SuppressUnusedWarnings (ElemIndicesSym0 :: TyFun a ([a] ~> [Natural]) -> Type) Source # 
Instance details

Defined in Data.List.Singletons.Internal

SuppressUnusedWarnings (FromEnumSym0 :: TyFun a Natural -> Type) Source # 
Instance details

Defined in Data.Singletons.Base.Enum

SApplicative m => SingI (ReplicateM_Sym0 :: TyFun Natural (m a ~> m ()) -> Type) Source # 
Instance details

Defined in Control.Monad.Singletons

Methods

sing :: Sing (ReplicateM_Sym0 :: TyFun Natural (m a ~> m ()) -> Type) #

SApplicative m => SingI (ReplicateMSym0 :: TyFun Natural (m a ~> m [a]) -> Type) Source # 
Instance details

Defined in Control.Monad.Singletons

Methods

sing :: Sing (ReplicateMSym0 :: TyFun Natural (m a ~> m [a]) -> Type) #

SingI d => SingI ((!!@#@$$) d :: TyFun Natural a -> Type) Source # 
Instance details

Defined in Data.List.NonEmpty.Singletons

Methods

sing :: Sing ((!!@#@$$) d) #

SingI d => SingI ((!!@#@$$) d :: TyFun Natural a -> Type) Source # 
Instance details

Defined in Data.List.Singletons.Internal

Methods

sing :: Sing ((!!@#@$$) d) #

(SEq a, SingI d) => SingI (ElemIndexSym1 d :: TyFun [a] (Maybe Natural) -> Type) Source # 
Instance details

Defined in Data.List.Singletons.Internal

Methods

sing :: Sing (ElemIndexSym1 d) #

SingI d => SingI (FindIndexSym1 d :: TyFun [a] (Maybe Natural) -> Type) Source # 
Instance details

Defined in Data.List.Singletons.Internal

Methods

sing :: Sing (FindIndexSym1 d) #

(SEq a, SingI d) => SingI (ElemIndicesSym1 d :: TyFun [a] [Natural] -> Type) Source # 
Instance details

Defined in Data.List.Singletons.Internal

Methods

sing :: Sing (ElemIndicesSym1 d) #

SingI d => SingI (FindIndicesSym1 d :: TyFun [a] [Natural] -> Type) Source # 
Instance details

Defined in Data.List.Singletons.Internal

Methods

sing :: Sing (FindIndicesSym1 d) #

SFoldable t => SingI (LengthSym0 :: TyFun (t a) Natural -> Type) Source # 
Instance details

Defined in Data.Foldable.Singletons

Methods

sing :: Sing (LengthSym0 :: TyFun (t a) Natural -> Type) #

SingI x => SingI ((<=?@#@$$) x :: TyFun Natural Bool -> Type) Source # 
Instance details

Defined in GHC.TypeLits.Singletons.Internal

Methods

sing :: Sing ((<=?@#@$$) x) #

SuppressUnusedWarnings (ReplicateM_Sym0 :: TyFun Natural (m a ~> m ()) -> Type) Source # 
Instance details

Defined in Control.Monad.Singletons

SuppressUnusedWarnings (ReplicateMSym0 :: TyFun Natural (m a ~> m [a]) -> Type) Source # 
Instance details

Defined in Control.Monad.Singletons

SuppressUnusedWarnings ((!!@#@$$) a6989586621680286938 :: TyFun Natural a -> Type) Source # 
Instance details

Defined in Data.List.NonEmpty.Singletons

SuppressUnusedWarnings ((!!@#@$$) a6989586621679544266 :: TyFun Natural a -> Type) Source # 
Instance details

Defined in Data.List.Singletons.Internal

SuppressUnusedWarnings (ElemIndexSym1 a6989586621679544658 :: TyFun [a] (Maybe Natural) -> Type) Source # 
Instance details

Defined in Data.List.Singletons.Internal

SuppressUnusedWarnings (FindIndexSym1 a6989586621679544640 :: TyFun [a] (Maybe Natural) -> Type) Source # 
Instance details

Defined in Data.List.Singletons.Internal

SuppressUnusedWarnings (ElemIndicesSym1 a6989586621679544649 :: TyFun [a] [Natural] -> Type) Source # 
Instance details

Defined in Data.List.Singletons.Internal

SuppressUnusedWarnings (FindIndicesSym1 a6989586621679544619 :: TyFun [a] [Natural] -> Type) Source # 
Instance details

Defined in Data.List.Singletons.Internal

SuppressUnusedWarnings (LengthSym0 :: TyFun (t a) Natural -> Type) Source # 
Instance details

Defined in Data.Foldable.Singletons

SingI1 (FindIndexSym1 :: (a ~> Bool) -> TyFun [a] (Maybe Natural) -> Type) Source # 
Instance details

Defined in Data.List.Singletons.Internal

Methods

liftSing :: forall (x :: a ~> Bool). Sing x -> Sing (FindIndexSym1 x) #

SingI1 (FindIndicesSym1 :: (a ~> Bool) -> TyFun [a] [Natural] -> Type) Source # 
Instance details

Defined in Data.List.Singletons.Internal

Methods

liftSing :: forall (x :: a ~> Bool). Sing x -> Sing (FindIndicesSym1 x) #

type Demote Natural Source # 
Instance details

Defined in GHC.TypeLits.Singletons.Internal

type Sing Source # 
Instance details

Defined in GHC.TypeLits.Singletons.Internal

type Sing = SNat
type FromEnum (a :: Natural) Source # 
Instance details

Defined in Data.Singletons.Base.Enum

type FromEnum (a :: Natural)
type Pred (a :: Natural) Source # 
Instance details

Defined in Data.Singletons.Base.Enum

type Pred (a :: Natural)
type Succ (a :: Natural) Source # 
Instance details

Defined in Data.Singletons.Base.Enum

type Succ (a :: Natural)
type ToEnum a Source # 
Instance details

Defined in Data.Singletons.Base.Enum

type ToEnum a
type Abs (a :: Natural) Source # 
Instance details

Defined in GHC.Num.Singletons

type Abs (a :: Natural) = a
type FromInteger a Source # 
Instance details

Defined in GHC.Num.Singletons

type FromInteger a = a
type Negate (a :: Natural) Source # 
Instance details

Defined in GHC.Num.Singletons

type Negate (a :: Natural) = Error "Cannot negate a natural number" :: Natural
type Signum (a :: Natural) Source # 
Instance details

Defined in GHC.Num.Singletons

type Signum (a :: Natural)
type Show_ (arg :: Natural) Source # 
Instance details

Defined in Text.Show.Singletons

type Show_ (arg :: Natural)
type Compare (a :: Natural) (b :: Natural) # 
Instance details

Defined in GHC.Internal.Data.Type.Ord

type Compare (a :: Natural) (b :: Natural) = CmpNat a b
type (arg :: Natural) /= (arg1 :: Natural) Source # 
Instance details

Defined in GHC.TypeLits.Singletons.Internal

type (arg :: Natural) /= (arg1 :: Natural)
type (x :: Natural) == (y :: Natural) Source # 
Instance details

Defined in GHC.TypeLits.Singletons.Internal

type (x :: Natural) == (y :: Natural) = DefaultEq x y
type (arg :: Natural) < (arg1 :: Natural) Source # 
Instance details

Defined in GHC.TypeLits.Singletons.Internal

type (arg :: Natural) < (arg1 :: Natural)
type (arg :: Natural) <= (arg1 :: Natural) Source # 
Instance details

Defined in GHC.TypeLits.Singletons.Internal

type (arg :: Natural) <= (arg1 :: Natural)
type (arg :: Natural) > (arg1 :: Natural) Source # 
Instance details

Defined in GHC.TypeLits.Singletons.Internal

type (arg :: Natural) > (arg1 :: Natural)
type (arg :: Natural) >= (arg1 :: Natural) Source # 
Instance details

Defined in GHC.TypeLits.Singletons.Internal

type (arg :: Natural) >= (arg1 :: Natural)
type Compare (a :: Natural) (b :: Natural) Source # 
Instance details

Defined in GHC.TypeLits.Singletons.Internal

type Compare (a :: Natural) (b :: Natural) = CmpNat a b
type Max (arg :: Natural) (arg1 :: Natural) Source # 
Instance details

Defined in GHC.TypeLits.Singletons.Internal

type Max (arg :: Natural) (arg1 :: Natural)
type Min (arg :: Natural) (arg1 :: Natural) Source # 
Instance details

Defined in GHC.TypeLits.Singletons.Internal

type Min (arg :: Natural) (arg1 :: Natural)
type EnumFromTo (a1 :: Natural) (a2 :: Natural) Source # 
Instance details

Defined in Data.Singletons.Base.Enum

type EnumFromTo (a1 :: Natural) (a2 :: Natural)
type (a :: Natural) * (b :: Natural) Source # 
Instance details

Defined in GHC.Num.Singletons

type (a :: Natural) * (b :: Natural) = a * b
type (a :: Natural) + (b :: Natural) Source # 
Instance details

Defined in GHC.Num.Singletons

type (a :: Natural) + (b :: Natural) = a + b
type (a :: Natural) - (b :: Natural) Source # 
Instance details

Defined in GHC.Num.Singletons

type (a :: Natural) - (b :: Natural) = a - b
type ShowList (arg1 :: [Natural]) arg2 Source # 
Instance details

Defined in Text.Show.Singletons

type ShowList (arg1 :: [Natural]) arg2
type Apply KnownNatSym0 (a6989586621679377837 :: Nat) Source # 
Instance details

Defined in GHC.TypeLits.Singletons

type Apply KnownNatSym0 (a6989586621679377837 :: Nat) = KnownNat a6989586621679377837
type Apply Log2Sym0 (a6989586621679378480 :: Natural) Source # 
Instance details

Defined in GHC.TypeLits.Singletons

type Apply Log2Sym0 (a6989586621679378480 :: Natural) = Log2 a6989586621679378480
type Apply NatToCharSym0 (a6989586621679382082 :: Natural) Source # 
Instance details

Defined in GHC.TypeLits.Singletons

type Apply NatToCharSym0 (a6989586621679382082 :: Natural) = NatToChar a6989586621679382082
type Apply CharToNatSym0 (a6989586621679381852 :: Char) Source # 
Instance details

Defined in GHC.TypeLits.Singletons

type Apply CharToNatSym0 (a6989586621679381852 :: Char) = CharToNat a6989586621679381852
type EnumFromThenTo (a1 :: Natural) (a2 :: Natural) (a3 :: Natural) Source # 
Instance details

Defined in Data.Singletons.Base.Enum

type EnumFromThenTo (a1 :: Natural) (a2 :: Natural) (a3 :: Natural)
type ShowsPrec _1 (n :: Natural) x Source # 
Instance details

Defined in Text.Show.Singletons

type ShowsPrec _1 (n :: Natural) x
type Apply (DivSym1 a6989586621679378709 :: TyFun Natural Natural -> Type) (a6989586621679378710 :: Natural) Source # 
Instance details

Defined in GHC.TypeLits.Singletons

type Apply (DivSym1 a6989586621679378709 :: TyFun Natural Natural -> Type) (a6989586621679378710 :: Natural) = Div a6989586621679378709 a6989586621679378710
type Apply (ModSym1 a6989586621679379154 :: TyFun Natural Natural -> Type) (a6989586621679379155 :: Natural) Source # 
Instance details

Defined in GHC.TypeLits.Singletons

type Apply (ModSym1 a6989586621679379154 :: TyFun Natural Natural -> Type) (a6989586621679379155 :: Natural) = Mod a6989586621679379154 a6989586621679379155
type Apply (QuotSym1 a6989586621679379824 :: TyFun Natural Natural -> Type) (a6989586621679379825 :: Natural) Source # 
Instance details

Defined in GHC.TypeLits.Singletons

type Apply (QuotSym1 a6989586621679379824 :: TyFun Natural Natural -> Type) (a6989586621679379825 :: Natural) = Quot a6989586621679379824 a6989586621679379825
type Apply (RemSym1 a6989586621679379813 :: TyFun Natural Natural -> Type) (a6989586621679379814 :: Natural) Source # 
Instance details

Defined in GHC.TypeLits.Singletons

type Apply (RemSym1 a6989586621679379813 :: TyFun Natural Natural -> Type) (a6989586621679379814 :: Natural) = Rem a6989586621679379813 a6989586621679379814
type Apply ((^@#@$$) a6989586621679369666 :: TyFun Natural Natural -> Type) (a6989586621679369667 :: Natural) Source # 
Instance details

Defined in GHC.TypeLits.Singletons.Internal

type Apply ((^@#@$$) a6989586621679369666 :: TyFun Natural Natural -> Type) (a6989586621679369667 :: Natural) = a6989586621679369666 ^ a6989586621679369667
type Apply (ToEnumSym0 :: TyFun Natural a -> Type) (a6989586621679414060 :: Natural) Source # 
Instance details

Defined in Data.Singletons.Base.Enum

type Apply (ToEnumSym0 :: TyFun Natural a -> Type) (a6989586621679414060 :: Natural) = ToEnum a6989586621679414060 :: a
type Apply (FromIntegerSym0 :: TyFun Natural a -> Type) (a6989586621679398591 :: Natural) Source # 
Instance details

Defined in GHC.Num.Singletons

type Apply (FromIntegerSym0 :: TyFun Natural a -> Type) (a6989586621679398591 :: Natural) = FromInteger a6989586621679398591 :: a
type Apply (FromEnumSym0 :: TyFun a Natural -> Type) (a6989586621679414063 :: a) Source # 
Instance details

Defined in Data.Singletons.Base.Enum

type Apply (FromEnumSym0 :: TyFun a Natural -> Type) (a6989586621679414063 :: a) = FromEnum a6989586621679414063
type Apply ((!!@#@$$) a6989586621680286938 :: TyFun Natural a -> Type) (a6989586621680286939 :: Natural) Source # 
Instance details

Defined in Data.List.NonEmpty.Singletons

type Apply ((!!@#@$$) a6989586621680286938 :: TyFun Natural a -> Type) (a6989586621680286939 :: Natural) = a6989586621680286938 !! a6989586621680286939
type Apply ((!!@#@$$) a6989586621679544266 :: TyFun Natural a -> Type) (a6989586621679544267 :: Natural) Source # 
Instance details

Defined in Data.List.Singletons.Internal

type Apply ((!!@#@$$) a6989586621679544266 :: TyFun Natural a -> Type) (a6989586621679544267 :: Natural) = a6989586621679544266 !! a6989586621679544267
type Apply DivSym0 (a6989586621679378709 :: Natural) Source # 
Instance details

Defined in GHC.TypeLits.Singletons

type Apply DivSym0 (a6989586621679378709 :: Natural) = DivSym1 a6989586621679378709
type Apply ModSym0 (a6989586621679379154 :: Natural) Source # 
Instance details

Defined in GHC.TypeLits.Singletons

type Apply ModSym0 (a6989586621679379154 :: Natural) = ModSym1 a6989586621679379154
type Apply QuotSym0 (a6989586621679379824 :: Natural) Source # 
Instance details

Defined in GHC.TypeLits.Singletons

type Apply QuotSym0 (a6989586621679379824 :: Natural) = QuotSym1 a6989586621679379824
type Apply RemSym0 (a6989586621679379813 :: Natural) Source # 
Instance details

Defined in GHC.TypeLits.Singletons

type Apply RemSym0 (a6989586621679379813 :: Natural) = RemSym1 a6989586621679379813
type Apply (^@#@$) (a6989586621679369666 :: Natural) Source # 
Instance details

Defined in GHC.TypeLits.Singletons.Internal

type Apply (^@#@$) (a6989586621679369666 :: Natural) = (^@#@$$) a6989586621679369666
type Apply DivModSym0 (a6989586621679379842 :: Natural) Source # 
Instance details

Defined in GHC.TypeLits.Singletons

type Apply DivModSym0 (a6989586621679379842 :: Natural) = DivModSym1 a6989586621679379842
type Apply QuotRemSym0 (a6989586621679379835 :: Natural) Source # 
Instance details

Defined in GHC.TypeLits.Singletons

type Apply QuotRemSym0 (a6989586621679379835 :: Natural) = QuotRemSym1 a6989586621679379835
type Apply (SplitAtSym0 :: TyFun Natural (NonEmpty a ~> ([a], [a])) -> Type) (a6989586621680287146 :: Natural) Source # 
Instance details

Defined in Data.List.NonEmpty.Singletons

type Apply (SplitAtSym0 :: TyFun Natural (NonEmpty a ~> ([a], [a])) -> Type) (a6989586621680287146 :: Natural) = SplitAtSym1 a6989586621680287146 :: TyFun (NonEmpty a) ([a], [a]) -> Type
type Apply (DropSym0 :: TyFun Natural (NonEmpty a ~> [a]) -> Type) (a6989586621680287155 :: Natural) Source # 
Instance details

Defined in Data.List.NonEmpty.Singletons

type Apply (DropSym0 :: TyFun Natural (NonEmpty a ~> [a]) -> Type) (a6989586621680287155 :: Natural) = DropSym1 a6989586621680287155 :: TyFun (NonEmpty a) [a] -> Type
type Apply (TakeSym0 :: TyFun Natural (NonEmpty a ~> [a]) -> Type) (a6989586621680287164 :: Natural) Source # 
Instance details

Defined in Data.List.NonEmpty.Singletons

type Apply (TakeSym0 :: TyFun Natural (NonEmpty a ~> [a]) -> Type) (a6989586621680287164 :: Natural) = TakeSym1 a6989586621680287164 :: TyFun (NonEmpty a) [a] -> Type
type Apply (SplitAtSym0 :: TyFun Natural ([a] ~> ([a], [a])) -> Type) (a6989586621679544425 :: Natural) Source # 
Instance details

Defined in Data.List.Singletons.Internal

type Apply (SplitAtSym0 :: TyFun Natural ([a] ~> ([a], [a])) -> Type) (a6989586621679544425 :: Natural) = SplitAtSym1 a6989586621679544425 :: TyFun [a] ([a], [a]) -> Type
type Apply (DropSym0 :: TyFun Natural ([a] ~> [a]) -> Type) (a6989586621679544432 :: Natural) Source # 
Instance details

Defined in Data.List.Singletons.Internal

type Apply (DropSym0 :: TyFun Natural ([a] ~> [a]) -> Type) (a6989586621679544432 :: Natural) = DropSym1 a6989586621679544432 :: TyFun [a] [a] -> Type
type Apply (TakeSym0 :: TyFun Natural ([a] ~> [a]) -> Type) (a6989586621679544445 :: Natural) Source # 
Instance details

Defined in Data.List.Singletons.Internal

type Apply (TakeSym0 :: TyFun Natural ([a] ~> [a]) -> Type) (a6989586621679544445 :: Natural) = TakeSym1 a6989586621679544445 :: TyFun [a] [a] -> Type
type Apply (ShowsPrecSym0 :: TyFun Natural (a ~> (Symbol ~> Symbol)) -> Type) (a6989586621679807409 :: Natural) Source # 
Instance details

Defined in Text.Show.Singletons

type Apply (ShowsPrecSym0 :: TyFun Natural (a ~> (Symbol ~> Symbol)) -> Type) (a6989586621679807409 :: Natural) = ShowsPrecSym1 a6989586621679807409 :: TyFun a (Symbol ~> Symbol) -> Type
type Apply (ReplicateSym0 :: TyFun Natural (a ~> [a]) -> Type) (a6989586621679544286 :: Natural) Source # 
Instance details

Defined in Data.List.Singletons.Internal

type Apply (ReplicateSym0 :: TyFun Natural (a ~> [a]) -> Type) (a6989586621679544286 :: Natural) = ReplicateSym1 a6989586621679544286 :: TyFun a [a] -> Type
type Apply (DivModSym1 a6989586621679379842 :: TyFun Natural (Natural, Natural) -> Type) (a6989586621679379843 :: Natural) Source # 
Instance details

Defined in GHC.TypeLits.Singletons

type Apply (DivModSym1 a6989586621679379842 :: TyFun Natural (Natural, Natural) -> Type) (a6989586621679379843 :: Natural) = DivMod a6989586621679379842 a6989586621679379843
type Apply (QuotRemSym1 a6989586621679379835 :: TyFun Natural (Natural, Natural) -> Type) (a6989586621679379836 :: Natural) Source # 
Instance details

Defined in GHC.TypeLits.Singletons

type Apply (QuotRemSym1 a6989586621679379835 :: TyFun Natural (Natural, Natural) -> Type) (a6989586621679379836 :: Natural) = QuotRem a6989586621679379835 a6989586621679379836
type Apply (ElemIndexSym0 :: TyFun a ([a] ~> Maybe Natural) -> Type) (a6989586621679544658 :: a) Source # 
Instance details

Defined in Data.List.Singletons.Internal

type Apply (ElemIndexSym0 :: TyFun a ([a] ~> Maybe Natural) -> Type) (a6989586621679544658 :: a) = ElemIndexSym1 a6989586621679544658
type Apply (ElemIndicesSym0 :: TyFun a ([a] ~> [Natural]) -> Type) (a6989586621679544649 :: a) Source # 
Instance details

Defined in Data.List.Singletons.Internal

type Apply (ElemIndicesSym0 :: TyFun a ([a] ~> [Natural]) -> Type) (a6989586621679544649 :: a) = ElemIndicesSym1 a6989586621679544649
type Apply (ReplicateM_Sym0 :: TyFun Natural (m a ~> m ()) -> Type) (a6989586621680354872 :: Natural) Source # 
Instance details

Defined in Control.Monad.Singletons

type Apply (ReplicateM_Sym0 :: TyFun Natural (m a ~> m ()) -> Type) (a6989586621680354872 :: Natural) = ReplicateM_Sym1 a6989586621680354872 :: TyFun (m a) (m ()) -> Type
type Apply (ReplicateMSym0 :: TyFun Natural (m a ~> m [a]) -> Type) (a6989586621680354894 :: Natural) Source # 
Instance details

Defined in Control.Monad.Singletons

type Apply (ReplicateMSym0 :: TyFun Natural (m a ~> m [a]) -> Type) (a6989586621680354894 :: Natural) = ReplicateMSym1 a6989586621680354894 :: TyFun (m a) (m [a]) -> Type
type Apply (LengthSym0 :: TyFun (NonEmpty a) Natural -> Type) (a6989586621680287381 :: NonEmpty a) Source # 
Instance details

Defined in Data.List.NonEmpty.Singletons

type Apply (LengthSym0 :: TyFun (NonEmpty a) Natural -> Type) (a6989586621680287381 :: NonEmpty a) = Length a6989586621680287381
type Apply (LengthSym0 :: TyFun (t a) Natural -> Type) (a6989586621679922563 :: t a) Source # 
Instance details

Defined in Data.Foldable.Singletons

type Apply (LengthSym0 :: TyFun (t a) Natural -> Type) (a6989586621679922563 :: t a) = Length a6989586621679922563
type Apply (ElemIndexSym1 a6989586621679544658 :: TyFun [a] (Maybe Natural) -> Type) (a6989586621679544659 :: [a]) Source # 
Instance details

Defined in Data.List.Singletons.Internal

type Apply (ElemIndexSym1 a6989586621679544658 :: TyFun [a] (Maybe Natural) -> Type) (a6989586621679544659 :: [a]) = ElemIndex a6989586621679544658 a6989586621679544659
type Apply (FindIndexSym1 a6989586621679544640 :: TyFun [a] (Maybe Natural) -> Type) (a6989586621679544641 :: [a]) Source # 
Instance details

Defined in Data.List.Singletons.Internal

type Apply (FindIndexSym1 a6989586621679544640 :: TyFun [a] (Maybe Natural) -> Type) (a6989586621679544641 :: [a]) = FindIndex a6989586621679544640 a6989586621679544641
type Apply (ElemIndicesSym1 a6989586621679544649 :: TyFun [a] [Natural] -> Type) (a6989586621679544650 :: [a]) Source # 
Instance details

Defined in Data.List.Singletons.Internal

type Apply (ElemIndicesSym1 a6989586621679544649 :: TyFun [a] [Natural] -> Type) (a6989586621679544650 :: [a]) = ElemIndices a6989586621679544649 a6989586621679544650
type Apply (FindIndicesSym1 a6989586621679544619 :: TyFun [a] [Natural] -> Type) (a6989586621679544620 :: [a]) Source # 
Instance details

Defined in Data.List.Singletons.Internal

type Apply (FindIndicesSym1 a6989586621679544619 :: TyFun [a] [Natural] -> Type) (a6989586621679544620 :: [a]) = FindIndices a6989586621679544619 a6989586621679544620
type Apply ((!!@#@$) :: TyFun (NonEmpty a) (Natural ~> a) -> Type) (a6989586621680286938 :: NonEmpty a) Source # 
Instance details

Defined in Data.List.NonEmpty.Singletons

type Apply ((!!@#@$) :: TyFun (NonEmpty a) (Natural ~> a) -> Type) (a6989586621680286938 :: NonEmpty a) = (!!@#@$$) a6989586621680286938
type Apply ((!!@#@$) :: TyFun [a] (Natural ~> a) -> Type) (a6989586621679544266 :: [a]) Source # 
Instance details

Defined in Data.List.Singletons.Internal

type Apply ((!!@#@$) :: TyFun [a] (Natural ~> a) -> Type) (a6989586621679544266 :: [a]) = (!!@#@$$) a6989586621679544266
type Apply (FindIndexSym0 :: TyFun (a ~> Bool) ([a] ~> Maybe Natural) -> Type) (a6989586621679544640 :: a ~> Bool) Source # 
Instance details

Defined in Data.List.Singletons.Internal

type Apply (FindIndexSym0 :: TyFun (a ~> Bool) ([a] ~> Maybe Natural) -> Type) (a6989586621679544640 :: a ~> Bool) = FindIndexSym1 a6989586621679544640
type Apply (FindIndicesSym0 :: TyFun (a ~> Bool) ([a] ~> [Natural]) -> Type) (a6989586621679544619 :: a ~> Bool) Source # 
Instance details

Defined in Data.List.Singletons.Internal

type Apply (FindIndicesSym0 :: TyFun (a ~> Bool) ([a] ~> [Natural]) -> Type) (a6989586621679544619 :: a ~> Bool) = FindIndicesSym1 a6989586621679544619

data Symbol #

(Kind) This is the kind of type-level symbols.

Instances

Instances details
Monoid Symbol Source # 
Instance details

Defined in GHC.TypeLits.Singletons

Semigroup Symbol Source # 
Instance details

Defined in GHC.TypeLits.Singletons

IsString Symbol Source # 
Instance details

Defined in GHC.TypeLits.Singletons

Methods

fromString :: String -> Symbol #

SingKind Symbol

Since: base-4.9.0.0

Instance details

Defined in GHC.Internal.Generics

Associated Types

type DemoteRep Symbol 
Instance details

Defined in GHC.Internal.Generics

type DemoteRep Symbol = String

Methods

fromSing :: forall (a :: Symbol). Sing a -> DemoteRep Symbol

Show Symbol Source # 
Instance details

Defined in GHC.TypeLits.Singletons

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.

Instance details

Defined in GHC.TypeLits.Singletons

Methods

(==) :: Symbol -> Symbol -> Bool #

(/=) :: Symbol -> Symbol -> Bool #

Ord Symbol Source # 
Instance details

Defined in GHC.TypeLits.Singletons

SingKind PErrorMessage Source # 
Instance details

Defined in Data.Singletons.Base.TypeError

Associated Types

type Demote PErrorMessage 
Instance details

Defined in Data.Singletons.Base.TypeError

SingKind Symbol Source # 
Instance details

Defined in GHC.TypeLits.Singletons.Internal

Associated Types

type Demote Symbol 
Instance details

Defined in GHC.TypeLits.Singletons.Internal

Methods

fromSing :: forall (a :: Symbol). Sing a -> Demote Symbol #

toSing :: Demote Symbol -> SomeSing Symbol #

SDecide Symbol Source # 
Instance details

Defined in GHC.TypeLits.Singletons.Internal

Methods

(%~) :: forall (a :: Symbol) (b :: Symbol). Sing a -> Sing b -> Decision (a :~: b) #

PEq Symbol Source # 
Instance details

Defined in GHC.TypeLits.Singletons.Internal

Associated Types

type (x :: Symbol) == (y :: Symbol) 
Instance details

Defined in GHC.TypeLits.Singletons.Internal

type (x :: Symbol) == (y :: Symbol) = DefaultEq x y
type (arg :: Symbol) /= (arg1 :: Symbol) 
Instance details

Defined in GHC.TypeLits.Singletons.Internal

type (arg :: Symbol) /= (arg1 :: Symbol)
SEq Symbol Source # 
Instance details

Defined in GHC.TypeLits.Singletons.Internal

Methods

(%==) :: forall (t1 :: Symbol) (t2 :: Symbol). Sing t1 -> Sing t2 -> Sing (t1 == t2) Source #

(%/=) :: forall (t1 :: Symbol) (t2 :: Symbol). Sing t1 -> Sing t2 -> Sing (t1 /= t2) Source #

PMonoid Symbol Source # 
Instance details

Defined in Data.Monoid.Singletons

Associated Types

type Mempty 
Instance details

Defined in Data.Monoid.Singletons

type Mempty
type Mappend (arg1 :: Symbol) (arg2 :: Symbol) 
Instance details

Defined in Data.Monoid.Singletons

type Mappend (arg1 :: Symbol) (arg2 :: Symbol)
type Mconcat (arg :: [Symbol]) 
Instance details

Defined in Data.Monoid.Singletons

type Mconcat (arg :: [Symbol])
SMonoid Symbol Source # 
Instance details

Defined in Data.Monoid.Singletons

Methods

sMempty :: Sing (Mempty :: Symbol) Source #

sMappend :: forall (t1 :: Symbol) (t2 :: Symbol). Sing t1 -> Sing t2 -> Sing (Mappend t1 t2) Source #

sMconcat :: forall (t :: [Symbol]). Sing t -> Sing (Mconcat t) Source #

POrd Symbol Source # 
Instance details

Defined in GHC.TypeLits.Singletons.Internal

Associated Types

type Compare (a :: Symbol) (b :: Symbol) 
Instance details

Defined in GHC.TypeLits.Singletons.Internal

type Compare (a :: Symbol) (b :: Symbol) = CmpSymbol a b
type (arg :: Symbol) < (arg1 :: Symbol) 
Instance details

Defined in GHC.TypeLits.Singletons.Internal

type (arg :: Symbol) < (arg1 :: Symbol)
type (arg :: Symbol) <= (arg1 :: Symbol) 
Instance details

Defined in GHC.TypeLits.Singletons.Internal

type (arg :: Symbol) <= (arg1 :: Symbol)
type (arg :: Symbol) > (arg1 :: Symbol) 
Instance details

Defined in GHC.TypeLits.Singletons.Internal

type (arg :: Symbol) > (arg1 :: Symbol)
type (arg :: Symbol) >= (arg1 :: Symbol) 
Instance details

Defined in GHC.TypeLits.Singletons.Internal

type (arg :: Symbol) >= (arg1 :: Symbol)
type Max (arg :: Symbol) (arg1 :: Symbol) 
Instance details

Defined in GHC.TypeLits.Singletons.Internal

type Max (arg :: Symbol) (arg1 :: Symbol)
type Min (arg :: Symbol) (arg1 :: Symbol) 
Instance details

Defined in GHC.TypeLits.Singletons.Internal

type Min (arg :: Symbol) (arg1 :: Symbol)
SOrd Symbol Source # 
Instance details

Defined in GHC.TypeLits.Singletons.Internal

Methods

sCompare :: forall (t1 :: Symbol) (t2 :: Symbol). Sing t1 -> Sing t2 -> Sing (Compare t1 t2) Source #

(%<) :: forall (t1 :: Symbol) (t2 :: Symbol). Sing t1 -> Sing t2 -> Sing (t1 < t2) Source #

(%<=) :: forall (t1 :: Symbol) (t2 :: Symbol). Sing t1 -> Sing t2 -> Sing (t1 <= t2) Source #

(%>) :: forall (t1 :: Symbol) (t2 :: Symbol). Sing t1 -> Sing t2 -> Sing (t1 > t2) Source #

(%>=) :: forall (t1 :: Symbol) (t2 :: Symbol). Sing t1 -> Sing t2 -> Sing (t1 >= t2) Source #

sMax :: forall (t1 :: Symbol) (t2 :: Symbol). Sing t1 -> Sing t2 -> Sing (Max t1 t2) Source #

sMin :: forall (t1 :: Symbol) (t2 :: Symbol). Sing t1 -> Sing t2 -> Sing (Min t1 t2) Source #

PSemigroup Symbol Source # 
Instance details

Defined in GHC.TypeLits.Singletons.Internal

Associated Types

type (a :: Symbol) <> (b :: Symbol) 
Instance details

Defined in GHC.TypeLits.Singletons.Internal

type (a :: Symbol) <> (b :: Symbol) = AppendSymbol a b
type Sconcat (arg :: NonEmpty Symbol) 
Instance details

Defined in GHC.TypeLits.Singletons.Internal

type Sconcat (arg :: NonEmpty Symbol)
SSemigroup Symbol Source # 
Instance details

Defined in GHC.TypeLits.Singletons.Internal

Methods

(%<>) :: forall (t1 :: Symbol) (t2 :: Symbol). Sing t1 -> Sing t2 -> Sing (t1 <> t2) Source #

sSconcat :: forall (t :: NonEmpty Symbol). Sing t -> Sing (Sconcat t) Source #

PIsString Symbol Source # 
Instance details

Defined in Data.String.Singletons

Associated Types

type FromString a 
Instance details

Defined in Data.String.Singletons

type FromString a = a
SIsString Symbol Source # 
Instance details

Defined in Data.String.Singletons

Methods

sFromString :: forall (t :: Symbol). Sing t -> Sing (FromString t :: Symbol) Source #

PShow Symbol Source # 
Instance details

Defined in Text.Show.Singletons

Associated Types

type ShowsPrec _1 (s :: Symbol) x 
Instance details

Defined in Text.Show.Singletons

type ShowsPrec _1 (s :: Symbol) x
type Show_ (arg :: Symbol) 
Instance details

Defined in Text.Show.Singletons

type Show_ (arg :: Symbol)
type ShowList (arg1 :: [Symbol]) arg2 
Instance details

Defined in Text.Show.Singletons

type ShowList (arg1 :: [Symbol]) arg2
SShow Symbol Source # 
Instance details

Defined in Text.Show.Singletons

Methods

sShowsPrec :: forall (t1 :: Natural) (t2 :: Symbol) (t3 :: Symbol). Sing t1 -> Sing t2 -> Sing t3 -> Sing (ShowsPrec t1 t2 t3) Source #

sShow_ :: forall (t :: Symbol). Sing t -> Sing (Show_ t) Source #

sShowList :: forall (t1 :: [Symbol]) (t2 :: Symbol). Sing t1 -> Sing t2 -> Sing (ShowList t1 t2) Source #

TestCoercion SSymbol #

Since: base-4.18.0.0

Instance details

Defined in GHC.Internal.TypeLits

Methods

testCoercion :: forall (a :: Symbol) (b :: Symbol). SSymbol a -> SSymbol b -> Maybe (Coercion a b) #

TestEquality SSymbol #

Since: base-4.18.0.0

Instance details

Defined in GHC.Internal.TypeLits

Methods

testEquality :: forall (a :: Symbol) (b :: Symbol). SSymbol a -> SSymbol b -> Maybe (a :~: b) #

KnownSymbol a => SingI (a :: Symbol)

Since: base-4.9.0.0

Instance details

Defined in GHC.Internal.Generics

Methods

sing :: Sing a

KnownSymbol n => SingI (n :: Symbol) Source # 
Instance details

Defined in GHC.TypeLits.Singletons.Internal

Methods

sing :: Sing n #

SingI2 ('(:$$:) :: ErrorMessage' Symbol -> ErrorMessage' Symbol -> ErrorMessage' Symbol) Source # 
Instance details

Defined in Data.Singletons.Base.TypeError

Methods

liftSing2 :: forall (x :: PErrorMessage) (y :: PErrorMessage). Sing x -> Sing y -> Sing (x ':$$: y) #

SingI2 ('(:<>:) :: ErrorMessage' Symbol -> ErrorMessage' Symbol -> ErrorMessage' Symbol) Source # 
Instance details

Defined in Data.Singletons.Base.TypeError

Methods

liftSing2 :: forall (x :: PErrorMessage) (y :: PErrorMessage). Sing x -> Sing y -> Sing (x ':<>: y) #

SingI1 ('Text :: Symbol -> ErrorMessage' Symbol) Source # 
Instance details

Defined in Data.Singletons.Base.TypeError

Methods

liftSing :: forall (x :: Symbol). Sing x -> Sing ('Text x) #

SingI e1 => SingI1 ('(:$$:) e1 :: ErrorMessage' Symbol -> ErrorMessage' Symbol) Source # 
Instance details

Defined in Data.Singletons.Base.TypeError

Methods

liftSing :: forall (x :: PErrorMessage). Sing x -> Sing (e1 ':$$: x) #

SingI e1 => SingI1 ('(:<>:) e1 :: ErrorMessage' Symbol -> ErrorMessage' Symbol) Source # 
Instance details

Defined in Data.Singletons.Base.TypeError

Methods

liftSing :: forall (x :: PErrorMessage). Sing x -> Sing (e1 ':<>: x) #

SingI1 ('ShowType :: t -> ErrorMessage' Symbol) Source # 
Instance details

Defined in Data.Singletons.Base.TypeError

Methods

liftSing :: forall (x :: t). Sing x -> Sing ('ShowType x :: ErrorMessage' Symbol) #

SShow a => SingI2 (ShowsPrecSym2 :: Natural -> a -> TyFun Symbol Symbol -> Type) Source # 
Instance details

Defined in Text.Show.Singletons

Methods

liftSing2 :: forall (x :: Natural) (y :: a). Sing x -> Sing y -> Sing (ShowsPrecSym2 x y) #

SingI t => SingI ('Text t :: ErrorMessage' Symbol) Source # 
Instance details

Defined in Data.Singletons.Base.TypeError

Methods

sing :: Sing ('Text t) #

SingI1 ShowParenSym1 Source # 
Instance details

Defined in Text.Show.Singletons

Methods

liftSing :: forall (x :: Bool). Sing x -> Sing (ShowParenSym1 x) #

SingI1 ShowCharSym1 Source # 
Instance details

Defined in Text.Show.Singletons

Methods

liftSing :: forall (x :: Char). Sing x -> Sing (ShowCharSym1 x) #

SingI1 ConsSymbolSym1 Source # 
Instance details

Defined in GHC.TypeLits.Singletons

Methods

liftSing :: forall (x :: Char). Sing x -> Sing (ConsSymbolSym1 x) #

SingI1 ShowStringSym1 Source # 
Instance details

Defined in Text.Show.Singletons

Methods

liftSing :: forall (x :: Symbol). Sing x -> Sing (ShowStringSym1 x) #

SingI1 ((:$$:@#@$$) :: ErrorMessage' Symbol -> TyFun (ErrorMessage' Symbol) (ErrorMessage' Symbol) -> Type) Source # 
Instance details

Defined in Data.Singletons.Base.TypeError

Methods

liftSing :: forall (x :: PErrorMessage). Sing x -> Sing ((:$$:@#@$$) x) #

SingI1 ((:<>:@#@$$) :: ErrorMessage' Symbol -> TyFun (ErrorMessage' Symbol) (ErrorMessage' Symbol) -> Type) Source # 
Instance details

Defined in Data.Singletons.Base.TypeError

Methods

liftSing :: forall (x :: PErrorMessage). Sing x -> Sing ((:<>:@#@$$) x) #

SShow a => SingI1 (ShowsPrecSym1 :: Natural -> TyFun a (Symbol ~> Symbol) -> Type) Source # 
Instance details

Defined in Text.Show.Singletons

Methods

liftSing :: forall (x :: Natural). Sing x -> Sing (ShowsPrecSym1 x :: TyFun a (Symbol ~> Symbol) -> Type) #

SShow a => SingI1 (ShowsSym1 :: a -> TyFun Symbol Symbol -> Type) Source # 
Instance details

Defined in Text.Show.Singletons

Methods

liftSing :: forall (x :: a). Sing x -> Sing (ShowsSym1 x) #

(SShow a, SingI d) => SingI1 (ShowsPrecSym2 d :: a -> TyFun Symbol Symbol -> Type) Source # 
Instance details

Defined in Text.Show.Singletons

Methods

liftSing :: forall (x :: a). Sing x -> Sing (ShowsPrecSym2 d x) #

SingI2 ShowParenSym2 Source # 
Instance details

Defined in Text.Show.Singletons

Methods

liftSing2 :: forall (x :: Bool) (y :: Symbol ~> Symbol). Sing x -> Sing y -> Sing (ShowParenSym2 x y) #

(SingI e1, SingI e2) => SingI (e1 ':$$: e2 :: ErrorMessage' Symbol) Source # 
Instance details

Defined in Data.Singletons.Base.TypeError

Methods

sing :: Sing (e1 ':$$: e2) #

(SingI e1, SingI e2) => SingI (e1 ':<>: e2 :: ErrorMessage' Symbol) Source # 
Instance details

Defined in Data.Singletons.Base.TypeError

Methods

sing :: Sing (e1 ':<>: e2) #

SingI ty => SingI ('ShowType ty :: ErrorMessage' Symbol) Source # 
Instance details

Defined in Data.Singletons.Base.TypeError

Methods

sing :: Sing ('ShowType ty :: ErrorMessage' Symbol) #

SShow a => SingI1 (ShowListSym1 :: [a] -> TyFun Symbol Symbol -> Type) Source # 
Instance details

Defined in Text.Show.Singletons

Methods

liftSing :: forall (x :: [a]). Sing x -> Sing (ShowListSym1 x) #

SingI d => SingI1 (ShowListWithSym2 d :: [a] -> TyFun Symbol Symbol -> Type) Source # 
Instance details

Defined in Text.Show.Singletons

Methods

liftSing :: forall (x :: [a]). Sing x -> Sing (ShowListWithSym2 d x) #

SingI ShowParenSym0 Source # 
Instance details

Defined in Text.Show.Singletons

SingI ShowCharSym0 Source # 
Instance details

Defined in Text.Show.Singletons

SingI UnlinesSym0 Source # 
Instance details

Defined in Data.List.Singletons.Internal

SingI UnwordsSym0 Source # 
Instance details

Defined in Data.List.Singletons.Internal

SingI ShowStringSym0 Source # 
Instance details

Defined in Text.Show.Singletons

SingI ShowCommaSpaceSym0 Source # 
Instance details

Defined in Text.Show.Singletons

SingI ShowSpaceSym0 Source # 
Instance details

Defined in Text.Show.Singletons

SingI ConsSymbolSym0 Source # 
Instance details

Defined in GHC.TypeLits.Singletons

SingI UnconsSymbolSym0 Source # 
Instance details

Defined in GHC.TypeLits.Singletons

SuppressUnusedWarnings ShowParenSym0 Source # 
Instance details

Defined in Text.Show.Singletons

SuppressUnusedWarnings ConsSymbolSym0 Source # 
Instance details

Defined in GHC.TypeLits.Singletons

SuppressUnusedWarnings ShowCharSym0 Source # 
Instance details

Defined in Text.Show.Singletons

SuppressUnusedWarnings UnlinesSym0 Source # 
Instance details

Defined in Data.List.Singletons.Internal

SuppressUnusedWarnings UnwordsSym0 Source # 
Instance details

Defined in Data.List.Singletons.Internal

SuppressUnusedWarnings ShowStringSym0 Source # 
Instance details

Defined in Text.Show.Singletons

SuppressUnusedWarnings UnconsSymbolSym0 Source # 
Instance details

Defined in GHC.TypeLits.Singletons

SuppressUnusedWarnings KnownSymbolSym0 Source # 
Instance details

Defined in GHC.TypeLits.Singletons

SuppressUnusedWarnings ShowCommaSpaceSym0 Source # 
Instance details

Defined in Text.Show.Singletons

SuppressUnusedWarnings ShowSpaceSym0 Source # 
Instance details

Defined in Text.Show.Singletons

SingI d => SingI (ShowParenSym1 d :: TyFun (Symbol ~> Symbol) (Symbol ~> Symbol) -> Type) Source # 
Instance details

Defined in Text.Show.Singletons

Methods

sing :: Sing (ShowParenSym1 d) #

SingI (ShowListWithSym0 :: TyFun (a ~> (Symbol ~> Symbol)) ([a] ~> (Symbol ~> Symbol)) -> Type) Source # 
Instance details

Defined in Text.Show.Singletons

Methods

sing :: Sing (ShowListWithSym0 :: TyFun (a ~> (Symbol ~> Symbol)) ([a] ~> (Symbol ~> Symbol)) -> Type) #

SingI ((:$$:@#@$) :: TyFun (ErrorMessage' Symbol) (ErrorMessage' Symbol ~> ErrorMessage' Symbol) -> Type) Source # 
Instance details

Defined in Data.Singletons.Base.TypeError

SingI ((:<>:@#@$) :: TyFun (ErrorMessage' Symbol) (ErrorMessage' Symbol ~> ErrorMessage' Symbol) -> Type) Source # 
Instance details

Defined in Data.Singletons.Base.TypeError

SShow a => SingI (ShowsPrecSym0 :: TyFun Natural (a ~> (Symbol ~> Symbol)) -> Type) Source # 
Instance details

Defined in Text.Show.Singletons

SShow a => SingI (ShowListSym0 :: TyFun [a] (Symbol ~> Symbol) -> Type) Source # 
Instance details

Defined in Text.Show.Singletons

Methods

sing :: Sing (ShowListSym0 :: TyFun [a] (Symbol ~> Symbol) -> Type) #

SingI (TextSym0 :: TyFun Symbol (ErrorMessage' Symbol) -> Type) Source # 
Instance details

Defined in Data.Singletons.Base.TypeError

SingI d => SingI (ShowCharSym1 d :: TyFun Symbol Symbol -> Type) Source # 
Instance details

Defined in Text.Show.Singletons

Methods

sing :: Sing (ShowCharSym1 d) #

SingI d => SingI (ShowStringSym1 d :: TyFun Symbol Symbol -> Type) Source # 
Instance details

Defined in Text.Show.Singletons

Methods

sing :: Sing (ShowStringSym1 d) #

SIsString a => SingI (FromStringSym0 :: TyFun Symbol a -> Type) Source # 
Instance details

Defined in Data.String.Singletons

Methods

sing :: Sing (FromStringSym0 :: TyFun Symbol a -> Type) #

SingI (ErrorSym0 :: TyFun Symbol a -> Type) Source # 
Instance details

Defined in GHC.TypeLits.Singletons.Internal

Methods

sing :: Sing (ErrorSym0 :: TyFun Symbol a -> Type) #

SingI (ErrorWithoutStackTraceSym0 :: TyFun Symbol a -> Type) Source # 
Instance details

Defined in GHC.TypeLits.Singletons.Internal

SShow a => SingI (ShowsSym0 :: TyFun a (Symbol ~> Symbol) -> Type) Source # 
Instance details

Defined in Text.Show.Singletons

Methods

sing :: Sing (ShowsSym0 :: TyFun a (Symbol ~> Symbol) -> Type) #

SShow a => SingI (Show_Sym0 :: TyFun a Symbol -> Type) Source # 
Instance details

Defined in Text.Show.Singletons

Methods

sing :: Sing (Show_Sym0 :: TyFun a Symbol -> Type) #

SingI (TypeErrorSym0 :: TyFun PErrorMessage a -> Type) Source # 
Instance details

Defined in Data.Singletons.Base.TypeError

SingI x => SingI (ConsSymbolSym1 x :: TyFun Symbol Symbol -> Type) Source # 
Instance details

Defined in GHC.TypeLits.Singletons

Methods

sing :: Sing (ConsSymbolSym1 x) #

SuppressUnusedWarnings (ShowParenSym1 a6989586621679807346 :: TyFun (Symbol ~> Symbol) (Symbol ~> Symbol) -> Type) Source # 
Instance details

Defined in Text.Show.Singletons

SuppressUnusedWarnings (ShowListWithSym0 :: TyFun (a ~> (Symbol ~> Symbol)) ([a] ~> (Symbol ~> Symbol)) -> Type) Source # 
Instance details

Defined in Text.Show.Singletons

SuppressUnusedWarnings (TypeErrorSym0 :: TyFun PErrorMessage a -> Type) Source # 
Instance details

Defined in Data.Singletons.Base.TypeError

SuppressUnusedWarnings (ShowsPrecSym0 :: TyFun Natural (a ~> (Symbol ~> Symbol)) -> Type) Source # 
Instance details

Defined in Text.Show.Singletons

SuppressUnusedWarnings (ShowListSym0 :: TyFun [a] (Symbol ~> Symbol) -> Type) Source # 
Instance details

Defined in Text.Show.Singletons

SuppressUnusedWarnings (ConsSymbolSym1 a6989586621679381116 :: TyFun Symbol Symbol -> Type) Source # 
Instance details

Defined in GHC.TypeLits.Singletons

SuppressUnusedWarnings (ShowCharSym1 a6989586621679807375 :: TyFun Symbol Symbol -> Type) Source # 
Instance details

Defined in Text.Show.Singletons

SuppressUnusedWarnings (ShowStringSym1 a6989586621679807364 :: TyFun Symbol Symbol -> Type) Source # 
Instance details

Defined in Text.Show.Singletons

SuppressUnusedWarnings (FromStringSym0 :: TyFun Symbol a -> Type) Source # 
Instance details

Defined in Data.String.Singletons

SuppressUnusedWarnings (ErrorSym0 :: TyFun Symbol a -> Type) Source # 
Instance details

Defined in GHC.TypeLits.Singletons.Internal

SuppressUnusedWarnings (ErrorWithoutStackTraceSym0 :: TyFun Symbol a -> Type) Source # 
Instance details

Defined in GHC.TypeLits.Singletons.Internal

SuppressUnusedWarnings (ShowsSym0 :: TyFun a (Symbol ~> Symbol) -> Type) Source # 
Instance details

Defined in Text.Show.Singletons

SuppressUnusedWarnings (Show_Sym0 :: TyFun a Symbol -> Type) Source # 
Instance details

Defined in Text.Show.Singletons

SingI2 (ShowListWithSym2 :: (a ~> (Symbol ~> Symbol)) -> [a] -> TyFun Symbol Symbol -> Type) Source # 
Instance details

Defined in Text.Show.Singletons

Methods

liftSing2 :: forall (x :: a ~> (Symbol ~> Symbol)) (y :: [a]). Sing x -> Sing y -> Sing (ShowListWithSym2 x y) #

SingI x => SingI ((:$$:@#@$$) x :: TyFun (ErrorMessage' Symbol) (ErrorMessage' Symbol) -> Type) Source # 
Instance details

Defined in Data.Singletons.Base.TypeError

Methods

sing :: Sing ((:$$:@#@$$) x) #

SingI x => SingI ((:<>:@#@$$) x :: TyFun (ErrorMessage' Symbol) (ErrorMessage' Symbol) -> Type) Source # 
Instance details

Defined in Data.Singletons.Base.TypeError

Methods

sing :: Sing ((:<>:@#@$$) x) #

SingI d => SingI (ShowListWithSym1 d :: TyFun [a] (Symbol ~> Symbol) -> Type) Source # 
Instance details

Defined in Text.Show.Singletons

Methods

sing :: Sing (ShowListWithSym1 d) #

(SShow a, SingI d) => SingI (ShowListSym1 d :: TyFun Symbol Symbol -> Type) Source # 
Instance details

Defined in Text.Show.Singletons

Methods

sing :: Sing (ShowListSym1 d) #

(SingI d1, SingI d2) => SingI (ShowParenSym2 d1 d2 :: TyFun Symbol Symbol -> Type) Source # 
Instance details

Defined in Text.Show.Singletons

Methods

sing :: Sing (ShowParenSym2 d1 d2) #

(SShow a, SingI d) => SingI (ShowsSym1 d :: TyFun Symbol Symbol -> Type) Source # 
Instance details

Defined in Text.Show.Singletons

Methods

sing :: Sing (ShowsSym1 d) #

(SShow a, SingI d) => SingI (ShowsPrecSym1 d :: TyFun a (Symbol ~> Symbol) -> Type) Source # 
Instance details

Defined in Text.Show.Singletons

Methods

sing :: Sing (ShowsPrecSym1 d :: TyFun a (Symbol ~> Symbol) -> Type) #

SingI (ShowTypeSym0 :: TyFun t (ErrorMessage' Symbol) -> Type) Source # 
Instance details

Defined in Data.Singletons.Base.TypeError

SuppressUnusedWarnings (ShowListWithSym1 a6989586621679807383 :: TyFun [a] (Symbol ~> Symbol) -> Type) Source # 
Instance details

Defined in Text.Show.Singletons

SuppressUnusedWarnings (ShowListSym1 a6989586621679807418 :: TyFun Symbol Symbol -> Type) Source # 
Instance details

Defined in Text.Show.Singletons

SuppressUnusedWarnings (ShowParenSym2 a6989586621679807346 a6989586621679807347 :: TyFun Symbol Symbol -> Type) Source # 
Instance details

Defined in Text.Show.Singletons

SuppressUnusedWarnings (ShowsSym1 a6989586621679807401 :: TyFun Symbol Symbol -> Type) Source # 
Instance details

Defined in Text.Show.Singletons

SuppressUnusedWarnings (ShowsPrecSym1 a6989586621679807409 :: TyFun a (Symbol ~> Symbol) -> Type) Source # 
Instance details

Defined in Text.Show.Singletons

SingI d => SingI1 (ShowParenSym2 d :: (Symbol ~> Symbol) -> TyFun Symbol Symbol -> Type) Source # 
Instance details

Defined in Text.Show.Singletons

Methods

liftSing :: forall (x :: Symbol ~> Symbol). Sing x -> Sing (ShowParenSym2 d x) #

SingI1 (ShowListWithSym1 :: (a ~> (Symbol ~> Symbol)) -> TyFun [a] (Symbol ~> Symbol) -> Type) Source # 
Instance details

Defined in Text.Show.Singletons

Methods

liftSing :: forall (x :: a ~> (Symbol ~> Symbol)). Sing x -> Sing (ShowListWithSym1 x) #

(SingI d1, SingI d2) => SingI (ShowListWithSym2 d1 d2 :: TyFun Symbol Symbol -> Type) Source # 
Instance details

Defined in Text.Show.Singletons

Methods

sing :: Sing (ShowListWithSym2 d1 d2) #

(SShow a, SingI d1, SingI d2) => SingI (ShowsPrecSym2 d1 d2 :: TyFun Symbol Symbol -> Type) Source # 
Instance details

Defined in Text.Show.Singletons

Methods

sing :: Sing (ShowsPrecSym2 d1 d2) #

SuppressUnusedWarnings (ShowListWithSym2 a6989586621679807383 a6989586621679807384 :: TyFun Symbol Symbol -> Type) Source # 
Instance details

Defined in Text.Show.Singletons

SuppressUnusedWarnings (ShowsPrecSym2 a6989586621679807409 a6989586621679807410 :: TyFun Symbol Symbol -> Type) Source # 
Instance details

Defined in Text.Show.Singletons

type DemoteRep Symbol # 
Instance details

Defined in GHC.Internal.Generics

type DemoteRep Symbol = String
data Sing (s :: Symbol) # 
Instance details

Defined in GHC.Internal.Generics

data Sing (s :: Symbol) where
type Demote PErrorMessage Source # 
Instance details

Defined in Data.Singletons.Base.TypeError

type Demote Symbol Source # 
Instance details

Defined in GHC.TypeLits.Singletons.Internal

type Sing Source # 
Instance details

Defined in Data.Singletons.Base.TypeError

type Sing Source # 
Instance details

Defined in GHC.TypeLits.Singletons.Internal

type Sing = SSymbol
type Mempty Source # 
Instance details

Defined in Data.Monoid.Singletons

type Mempty
type Mconcat (arg :: [Symbol]) Source # 
Instance details

Defined in Data.Monoid.Singletons

type Mconcat (arg :: [Symbol])
type Sconcat (arg :: NonEmpty Symbol) Source # 
Instance details

Defined in GHC.TypeLits.Singletons.Internal

type Sconcat (arg :: NonEmpty Symbol)
type FromString a Source # 
Instance details

Defined in Data.String.Singletons

type FromString a = a
type Show_ (arg :: Symbol) Source # 
Instance details

Defined in Text.Show.Singletons

type Show_ (arg :: Symbol)
type Compare (a :: Symbol) (b :: Symbol) # 
Instance details

Defined in GHC.Internal.Data.Type.Ord

type Compare (a :: Symbol) (b :: Symbol) = CmpSymbol a b
type (arg :: Symbol) /= (arg1 :: Symbol) Source # 
Instance details

Defined in GHC.TypeLits.Singletons.Internal

type (arg :: Symbol) /= (arg1 :: Symbol)
type (x :: Symbol) == (y :: Symbol) Source # 
Instance details

Defined in GHC.TypeLits.Singletons.Internal

type (x :: Symbol) == (y :: Symbol) = DefaultEq x y
type Mappend (arg1 :: Symbol) (arg2 :: Symbol) Source # 
Instance details

Defined in Data.Monoid.Singletons

type Mappend (arg1 :: Symbol) (arg2 :: Symbol)
type (arg :: Symbol) < (arg1 :: Symbol) Source # 
Instance details

Defined in GHC.TypeLits.Singletons.Internal

type (arg :: Symbol) < (arg1 :: Symbol)
type (arg :: Symbol) <= (arg1 :: Symbol) Source # 
Instance details

Defined in GHC.TypeLits.Singletons.Internal

type (arg :: Symbol) <= (arg1 :: Symbol)
type (arg :: Symbol) > (arg1 :: Symbol) Source # 
Instance details

Defined in GHC.TypeLits.Singletons.Internal

type (arg :: Symbol) > (arg1 :: Symbol)
type (arg :: Symbol) >= (arg1 :: Symbol) Source # 
Instance details

Defined in GHC.TypeLits.Singletons.Internal

type (arg :: Symbol) >= (arg1 :: Symbol)
type Compare (a :: Symbol) (b :: Symbol) Source # 
Instance details

Defined in GHC.TypeLits.Singletons.Internal

type Compare (a :: Symbol) (b :: Symbol) = CmpSymbol a b
type Max (arg :: Symbol) (arg1 :: Symbol) Source # 
Instance details

Defined in GHC.TypeLits.Singletons.Internal

type Max (arg :: Symbol) (arg1 :: Symbol)
type Min (arg :: Symbol) (arg1 :: Symbol) Source # 
Instance details

Defined in GHC.TypeLits.Singletons.Internal

type Min (arg :: Symbol) (arg1 :: Symbol)
type (a :: Symbol) <> (b :: Symbol) Source # 
Instance details

Defined in GHC.TypeLits.Singletons.Internal

type (a :: Symbol) <> (b :: Symbol) = AppendSymbol a b
type ShowList (arg1 :: [Symbol]) arg2 Source # 
Instance details

Defined in Text.Show.Singletons

type ShowList (arg1 :: [Symbol]) arg2
type Apply KnownSymbolSym0 (a6989586621679377839 :: Symbol) Source # 
Instance details

Defined in GHC.TypeLits.Singletons

type Apply KnownSymbolSym0 (a6989586621679377839 :: Symbol) = KnownSymbol a6989586621679377839
type Apply ShowCommaSpaceSym0 (a6989586621679807326 :: Symbol) Source # 
Instance details

Defined in Text.Show.Singletons

type Apply ShowCommaSpaceSym0 (a6989586621679807326 :: Symbol) = ShowCommaSpace a6989586621679807326
type Apply ShowSpaceSym0 (a6989586621679807332 :: Symbol) Source # 
Instance details

Defined in Text.Show.Singletons

type Apply ShowSpaceSym0 (a6989586621679807332 :: Symbol) = ShowSpace a6989586621679807332
type ShowsPrec _1 (s :: Symbol) x Source # 
Instance details

Defined in Text.Show.Singletons

type ShowsPrec _1 (s :: Symbol) x
type Apply (TypeErrorSym0 :: TyFun PErrorMessage a -> Type) (a6989586621679803716 :: PErrorMessage) Source # 
Instance details

Defined in Data.Singletons.Base.TypeError

type Apply (TypeErrorSym0 :: TyFun PErrorMessage a -> Type) (a6989586621679803716 :: PErrorMessage) = TypeError a6989586621679803716 :: a
type Apply (ConsSymbolSym1 a6989586621679381116 :: TyFun Symbol Symbol -> Type) (a6989586621679381117 :: Symbol) Source # 
Instance details

Defined in GHC.TypeLits.Singletons

type Apply (ConsSymbolSym1 a6989586621679381116 :: TyFun Symbol Symbol -> Type) (a6989586621679381117 :: Symbol) = ConsSymbol a6989586621679381116 a6989586621679381117
type Apply (ShowCharSym1 a6989586621679807375 :: TyFun Symbol Symbol -> Type) (a6989586621679807376 :: Symbol) Source # 
Instance details

Defined in Text.Show.Singletons

type Apply (ShowCharSym1 a6989586621679807375 :: TyFun Symbol Symbol -> Type) (a6989586621679807376 :: Symbol) = ShowChar a6989586621679807375 a6989586621679807376
type Apply (ShowStringSym1 a6989586621679807364 :: TyFun Symbol Symbol -> Type) (a6989586621679807365 :: Symbol) Source # 
Instance details

Defined in Text.Show.Singletons

type Apply (ShowStringSym1 a6989586621679807364 :: TyFun Symbol Symbol -> Type) (a6989586621679807365 :: Symbol) = ShowString a6989586621679807364 a6989586621679807365
type Apply (FromStringSym0 :: TyFun Symbol a -> Type) (a6989586621680338575 :: Symbol) Source # 
Instance details

Defined in Data.String.Singletons

type Apply (FromStringSym0 :: TyFun Symbol a -> Type) (a6989586621680338575 :: Symbol) = FromString a6989586621680338575 :: a
type Apply (ErrorSym0 :: TyFun Symbol a -> Type) (a6989586621679368947 :: Symbol) Source # 
Instance details

Defined in GHC.TypeLits.Singletons.Internal

type Apply (ErrorSym0 :: TyFun Symbol a -> Type) (a6989586621679368947 :: Symbol) = Error a6989586621679368947 :: a
type Apply (ErrorWithoutStackTraceSym0 :: TyFun Symbol a -> Type) (a6989586621679369227 :: Symbol) Source # 
Instance details

Defined in GHC.TypeLits.Singletons.Internal

type Apply (ErrorWithoutStackTraceSym0 :: TyFun Symbol a -> Type) (a6989586621679369227 :: Symbol) = ErrorWithoutStackTrace a6989586621679369227 :: a
type Apply (Show_Sym0 :: TyFun a Symbol -> Type) (a6989586621679807414 :: a) Source # 
Instance details

Defined in Text.Show.Singletons

type Apply (Show_Sym0 :: TyFun a Symbol -> Type) (a6989586621679807414 :: a) = Show_ a6989586621679807414
type Apply (ShowListSym1 a6989586621679807418 :: TyFun Symbol Symbol -> Type) (a6989586621679807419 :: Symbol) Source # 
Instance details

Defined in Text.Show.Singletons

type Apply (ShowListSym1 a6989586621679807418 :: TyFun Symbol Symbol -> Type) (a6989586621679807419 :: Symbol) = ShowList a6989586621679807418 a6989586621679807419
type Apply (ShowParenSym2 a6989586621679807346 a6989586621679807347 :: TyFun Symbol Symbol -> Type) (a6989586621679807348 :: Symbol) Source # 
Instance details

Defined in Text.Show.Singletons

type Apply (ShowParenSym2 a6989586621679807346 a6989586621679807347 :: TyFun Symbol Symbol -> Type) (a6989586621679807348 :: Symbol) = ShowParen a6989586621679807346 a6989586621679807347 a6989586621679807348
type Apply (ShowsSym1 a6989586621679807401 :: TyFun Symbol Symbol -> Type) (a6989586621679807402 :: Symbol) Source # 
Instance details

Defined in Text.Show.Singletons

type Apply (ShowsSym1 a6989586621679807401 :: TyFun Symbol Symbol -> Type) (a6989586621679807402 :: Symbol) = Shows a6989586621679807401 a6989586621679807402
type Apply (ShowListWithSym2 a6989586621679807383 a6989586621679807384 :: TyFun Symbol Symbol -> Type) (a6989586621679807385 :: Symbol) Source # 
Instance details

Defined in Text.Show.Singletons

type Apply (ShowListWithSym2 a6989586621679807383 a6989586621679807384 :: TyFun Symbol Symbol -> Type) (a6989586621679807385 :: Symbol) = ShowListWith a6989586621679807383 a6989586621679807384 a6989586621679807385
type Apply (ShowsPrecSym2 a6989586621679807409 a6989586621679807410 :: TyFun Symbol Symbol -> Type) (a6989586621679807411 :: Symbol) Source # 
Instance details

Defined in Text.Show.Singletons

type Apply (ShowsPrecSym2 a6989586621679807409 a6989586621679807410 :: TyFun Symbol Symbol -> Type) (a6989586621679807411 :: Symbol) = ShowsPrec a6989586621679807409 a6989586621679807410 a6989586621679807411
type Apply UnconsSymbolSym0 (a6989586621679381627 :: Symbol) Source # 
Instance details

Defined in GHC.TypeLits.Singletons

type Apply UnconsSymbolSym0 (a6989586621679381627 :: Symbol) = UnconsSymbol a6989586621679381627
type Apply ShowParenSym0 (a6989586621679807346 :: Bool) Source # 
Instance details

Defined in Text.Show.Singletons

type Apply ShowParenSym0 (a6989586621679807346 :: Bool) = ShowParenSym1 a6989586621679807346
type Apply ConsSymbolSym0 (a6989586621679381116 :: Char) Source # 
Instance details

Defined in GHC.TypeLits.Singletons

type Apply ConsSymbolSym0 (a6989586621679381116 :: Char) = ConsSymbolSym1 a6989586621679381116
type Apply ShowCharSym0 (a6989586621679807375 :: Char) Source # 
Instance details

Defined in Text.Show.Singletons

type Apply ShowCharSym0 (a6989586621679807375 :: Char) = ShowCharSym1 a6989586621679807375
type Apply ShowStringSym0 (a6989586621679807364 :: Symbol) Source # 
Instance details

Defined in Text.Show.Singletons

type Apply ShowStringSym0 (a6989586621679807364 :: Symbol) = ShowStringSym1 a6989586621679807364
type Apply (ShowsPrecSym0 :: TyFun Natural (a ~> (Symbol ~> Symbol)) -> Type) (a6989586621679807409 :: Natural) Source # 
Instance details

Defined in Text.Show.Singletons

type Apply (ShowsPrecSym0 :: TyFun Natural (a ~> (Symbol ~> Symbol)) -> Type) (a6989586621679807409 :: Natural) = ShowsPrecSym1 a6989586621679807409 :: TyFun a (Symbol ~> Symbol) -> Type
type Apply (ShowsSym0 :: TyFun a (Symbol ~> Symbol) -> Type) (a6989586621679807401 :: a) Source # 
Instance details

Defined in Text.Show.Singletons

type Apply (ShowsSym0 :: TyFun a (Symbol ~> Symbol) -> Type) (a6989586621679807401 :: a) = ShowsSym1 a6989586621679807401
type Apply (ShowsPrecSym1 a6989586621679807409 :: TyFun a (Symbol ~> Symbol) -> Type) (a6989586621679807410 :: a) Source # 
Instance details

Defined in Text.Show.Singletons

type Apply (ShowsPrecSym1 a6989586621679807409 :: TyFun a (Symbol ~> Symbol) -> Type) (a6989586621679807410 :: a) = ShowsPrecSym2 a6989586621679807409 a6989586621679807410
type Apply UnlinesSym0 (a6989586621679544819 :: [Symbol]) Source # 
Instance details

Defined in Data.List.Singletons.Internal

type Apply UnlinesSym0 (a6989586621679544819 :: [Symbol]) = Unlines a6989586621679544819
type Apply UnwordsSym0 (a6989586621679544809 :: [Symbol]) Source # 
Instance details

Defined in Data.List.Singletons.Internal

type Apply UnwordsSym0 (a6989586621679544809 :: [Symbol]) = Unwords a6989586621679544809
type Apply (ShowListSym0 :: TyFun [a] (Symbol ~> Symbol) -> Type) (a6989586621679807418 :: [a]) Source # 
Instance details

Defined in Text.Show.Singletons

type Apply (ShowListSym0 :: TyFun [a] (Symbol ~> Symbol) -> Type) (a6989586621679807418 :: [a]) = ShowListSym1 a6989586621679807418
type Apply (ShowListWithSym1 a6989586621679807383 :: TyFun [a] (Symbol ~> Symbol) -> Type) (a6989586621679807384 :: [a]) Source # 
Instance details

Defined in Text.Show.Singletons

type Apply (ShowListWithSym1 a6989586621679807383 :: TyFun [a] (Symbol ~> Symbol) -> Type) (a6989586621679807384 :: [a]) = ShowListWithSym2 a6989586621679807383 a6989586621679807384
type Apply (ShowParenSym1 a6989586621679807346 :: TyFun (Symbol ~> Symbol) (Symbol ~> Symbol) -> Type) (a6989586621679807347 :: Symbol ~> Symbol) Source # 
Instance details

Defined in Text.Show.Singletons

type Apply (ShowParenSym1 a6989586621679807346 :: TyFun (Symbol ~> Symbol) (Symbol ~> Symbol) -> Type) (a6989586621679807347 :: Symbol ~> Symbol) = ShowParenSym2 a6989586621679807346 a6989586621679807347
type Apply (ShowListWithSym0 :: TyFun (a ~> (Symbol ~> Symbol)) ([a] ~> (Symbol ~> Symbol)) -> Type) (a6989586621679807383 :: a ~> (Symbol ~> Symbol)) Source # 
Instance details

Defined in Text.Show.Singletons

type Apply (ShowListWithSym0 :: TyFun (a ~> (Symbol ~> Symbol)) ([a] ~> (Symbol ~> Symbol)) -> Type) (a6989586621679807383 :: a ~> (Symbol ~> Symbol)) = ShowListWithSym1 a6989586621679807383

data Char #

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:

EscapeAlternativesMeaning
'\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

Data.Char provides utilities to work with Char.

Instances

Instances details
IsChar Char #

Since: base-2.1

Instance details

Defined in Text.Printf

Methods

toChar :: Char -> Char #

fromChar :: Char -> Char #

PrintfArg Char #

Since: base-2.1

Instance details

Defined in Text.Printf

NFData Char # 
Instance details

Defined in Control.DeepSeq

Methods

rnf :: Char -> () #

Bounded Char #

Since: base-2.1

Instance details

Defined in GHC.Internal.Enum

Enum Char #

Since: base-2.1

Instance details

Defined in GHC.Internal.Enum

Methods

succ :: Char -> Char #

pred :: Char -> Char #

toEnum :: Int -> Char #

fromEnum :: Char -> Int #

enumFrom :: Char -> [Char] #

enumFromThen :: Char -> Char -> [Char] #

enumFromTo :: Char -> Char -> [Char] #

enumFromThenTo :: Char -> Char -> Char -> [Char] #

Ix Char #

Since: base-2.1

Instance details

Defined in GHC.Internal.Ix

Methods

range :: (Char, Char) -> [Char] #

index :: (Char, Char) -> Char -> Int #

unsafeIndex :: (Char, Char) -> Char -> Int #

inRange :: (Char, Char) -> Char -> Bool #

rangeSize :: (Char, Char) -> Int #

unsafeRangeSize :: (Char, Char) -> Int #

Show Char #

Since: base-2.1

Instance details

Defined in GHC.Internal.Show

Methods

showsPrec :: Int -> Char -> ShowS #

show :: Char -> String #

showList :: [Char] -> ShowS #

Eq Char # 
Instance details

Defined in GHC.Classes

Methods

(==) :: Char -> Char -> Bool #

(/=) :: Char -> Char -> Bool #

Ord Char # 
Instance details

Defined in GHC.Classes

Methods

compare :: Char -> Char -> Ordering #

(<) :: Char -> Char -> Bool #

(<=) :: Char -> Char -> Bool #

(>) :: Char -> Char -> Bool #

(>=) :: Char -> Char -> Bool #

max :: Char -> Char -> Char #

min :: Char -> Char -> Char #

Hashable Char # 
Instance details

Defined in Data.Hashable.Class

Methods

hashWithSalt :: Int -> Char -> Int #

hash :: Char -> Int #

Pretty Char # 
Instance details

Defined in Text.PrettyPrint.Annotated.HughesPJClass

Methods

pPrintPrec :: PrettyLevel -> Rational -> Char -> Doc ann #

pPrint :: Char -> Doc ann #

pPrintList :: PrettyLevel -> [Char] -> Doc ann #

Pretty Char # 
Instance details

Defined in Text.PrettyPrint.HughesPJClass

SingKind Char Source # 
Instance details

Defined in GHC.TypeLits.Singletons.Internal

Associated Types

type Demote Char 
Instance details

Defined in GHC.TypeLits.Singletons.Internal

Methods

fromSing :: forall (a :: Char). Sing a -> Demote Char #

toSing :: Demote Char -> SomeSing Char #

SDecide Char Source # 
Instance details

Defined in GHC.TypeLits.Singletons.Internal

Methods

(%~) :: forall (a :: Char) (b :: Char). Sing a -> Sing b -> Decision (a :~: b) #

PEq Char Source # 
Instance details

Defined in GHC.TypeLits.Singletons.Internal

Associated Types

type (x :: Char) == (y :: Char) 
Instance details

Defined in GHC.TypeLits.Singletons.Internal

type (x :: Char) == (y :: Char) = DefaultEq x y
type (arg :: Char) /= (arg1 :: Char) 
Instance details

Defined in GHC.TypeLits.Singletons.Internal

type (arg :: Char) /= (arg1 :: Char)
SEq Char Source # 
Instance details

Defined in GHC.TypeLits.Singletons.Internal

Methods

(%==) :: forall (t1 :: Char) (t2 :: Char). Sing t1 -> Sing t2 -> Sing (t1 == t2) Source #

(%/=) :: forall (t1 :: Char) (t2 :: Char). Sing t1 -> Sing t2 -> Sing (t1 /= t2) Source #

POrd Char Source # 
Instance details

Defined in GHC.TypeLits.Singletons.Internal

Associated Types

type Compare (a :: Char) (b :: Char) 
Instance details

Defined in GHC.TypeLits.Singletons.Internal

type Compare (a :: Char) (b :: Char) = CmpChar a b
type (arg :: Char) < (arg1 :: Char) 
Instance details

Defined in GHC.TypeLits.Singletons.Internal

type (arg :: Char) < (arg1 :: Char)
type (arg :: Char) <= (arg1 :: Char) 
Instance details

Defined in GHC.TypeLits.Singletons.Internal

type (arg :: Char) <= (arg1 :: Char)
type (arg :: Char) > (arg1 :: Char) 
Instance details

Defined in GHC.TypeLits.Singletons.Internal

type (arg :: Char) > (arg1 :: Char)
type (arg :: Char) >= (arg1 :: Char) 
Instance details

Defined in GHC.TypeLits.Singletons.Internal

type (arg :: Char) >= (arg1 :: Char)
type Max (arg :: Char) (arg1 :: Char) 
Instance details

Defined in GHC.TypeLits.Singletons.Internal

type Max (arg :: Char) (arg1 :: Char)
type Min (arg :: Char) (arg1 :: Char) 
Instance details

Defined in GHC.TypeLits.Singletons.Internal

type Min (arg :: Char) (arg1 :: Char)
SOrd Char Source # 
Instance details

Defined in GHC.TypeLits.Singletons.Internal

Methods

sCompare :: forall (t1 :: Char) (t2 :: Char). Sing t1 -> Sing t2 -> Sing (Compare t1 t2) Source #

(%<) :: forall (t1 :: Char) (t2 :: Char). Sing t1 -> Sing t2 -> Sing (t1 < t2) Source #

(%<=) :: forall (t1 :: Char) (t2 :: Char). Sing t1 -> Sing t2 -> Sing (t1 <= t2) Source #

(%>) :: forall (t1 :: Char) (t2 :: Char). Sing t1 -> Sing t2 -> Sing (t1 > t2) Source #

(%>=) :: forall (t1 :: Char) (t2 :: Char). Sing t1 -> Sing t2 -> Sing (t1 >= t2) Source #

sMax :: forall (t1 :: Char) (t2 :: Char). Sing t1 -> Sing t2 -> Sing (Max t1 t2) Source #

sMin :: forall (t1 :: Char) (t2 :: Char). Sing t1 -> Sing t2 -> Sing (Min t1 t2) Source #

PBounded Char Source # 
Instance details

Defined in Data.Singletons.Base.Enum

Associated Types

type MinBound 
Instance details

Defined in Data.Singletons.Base.Enum

type MaxBound 
Instance details

Defined in Data.Singletons.Base.Enum

PEnum Char Source # 
Instance details

Defined in Data.Singletons.Base.Enum

Associated Types

type Succ (arg :: Char) 
Instance details

Defined in Data.Singletons.Base.Enum

type Succ (arg :: Char)
type Pred (arg :: Char) 
Instance details

Defined in Data.Singletons.Base.Enum

type Pred (arg :: Char)
type ToEnum a 
Instance details

Defined in Data.Singletons.Base.Enum

type ToEnum a
type FromEnum (a :: Char) 
Instance details

Defined in Data.Singletons.Base.Enum

type FromEnum (a :: Char)
type EnumFromTo (arg1 :: Char) (arg2 :: Char) 
Instance details

Defined in Data.Singletons.Base.Enum

type EnumFromTo (arg1 :: Char) (arg2 :: Char)
type EnumFromThenTo (arg1 :: Char) (arg2 :: Char) (arg3 :: Char) 
Instance details

Defined in Data.Singletons.Base.Enum

type EnumFromThenTo (arg1 :: Char) (arg2 :: Char) (arg3 :: Char)
SBounded Char Source # 
Instance details

Defined in Data.Singletons.Base.Enum

SEnum Char Source # 
Instance details

Defined in Data.Singletons.Base.Enum

Methods

sSucc :: forall (t :: Char). Sing t -> Sing (Succ t) Source #

sPred :: forall (t :: Char). Sing t -> Sing (Pred t) Source #

sToEnum :: forall (t :: Natural). Sing t -> Sing (ToEnum t :: Char) Source #

sFromEnum :: forall (t :: Char). Sing t -> Sing (FromEnum t) Source #

sEnumFromTo :: forall (t1 :: Char) (t2 :: Char). Sing t1 -> Sing t2 -> Sing (EnumFromTo t1 t2) Source #

sEnumFromThenTo :: forall (t1 :: Char) (t2 :: Char) (t3 :: Char). Sing t1 -> Sing t2 -> Sing t3 -> Sing (EnumFromThenTo t1 t2 t3) Source #

PShow Char Source # 
Instance details

Defined in Text.Show.Singletons

Associated Types

type ShowsPrec p (c :: Char) x 
Instance details

Defined in Text.Show.Singletons

type ShowsPrec p (c :: Char) x
type Show_ (arg :: Char) 
Instance details

Defined in Text.Show.Singletons

type Show_ (arg :: Char)
type ShowList (cs :: [Char]) x 
Instance details

Defined in Text.Show.Singletons

type ShowList (cs :: [Char]) x
SShow Char Source # 
Instance details

Defined in Text.Show.Singletons

Methods

sShowsPrec :: forall (t1 :: Natural) (t2 :: Char) (t3 :: Symbol). Sing t1 -> Sing t2 -> Sing t3 -> Sing (ShowsPrec t1 t2 t3) Source #

sShow_ :: forall (t :: Char). Sing t -> Sing (Show_ t) Source #

sShowList :: forall (t1 :: [Char]) (t2 :: Symbol). Sing t1 -> Sing t2 -> Sing (ShowList t1 t2) Source #

TestCoercion SChar #

Since: base-4.18.0.0

Instance details

Defined in GHC.Internal.TypeLits

Methods

testCoercion :: forall (a :: Char) (b :: Char). SChar a -> SChar b -> Maybe (Coercion a b) #

TestEquality SChar #

Since: base-4.18.0.0

Instance details

Defined in GHC.Internal.TypeLits

Methods

testEquality :: forall (a :: Char) (b :: Char). SChar a -> SChar b -> Maybe (a :~: b) #

KnownChar c => SingI (c :: Char) Source # 
Instance details

Defined in GHC.TypeLits.Singletons.Internal

Methods

sing :: Sing c #

Generic1 (URec Char :: k -> Type) # 
Instance details

Defined in GHC.Internal.Generics

Associated Types

type Rep1 (URec Char :: k -> Type)

Since: base-4.9.0.0

Instance details

Defined in GHC.Internal.Generics

type Rep1 (URec Char :: k -> Type) = D1 ('MetaData "URec" "GHC.Internal.Generics" "ghc-internal" 'False) (C1 ('MetaCons "UChar" 'PrefixI 'True) (S1 ('MetaSel ('Just "uChar#") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (UChar :: k -> Type)))

Methods

from1 :: forall (a :: k). URec Char a -> Rep1 (URec Char :: k -> Type) a #

to1 :: forall (a :: k). Rep1 (URec Char :: k -> Type) a -> URec Char a #

SingI1 ShowCharSym1 Source # 
Instance details

Defined in Text.Show.Singletons

Methods

liftSing :: forall (x :: Char). Sing x -> Sing (ShowCharSym1 x) #

SingI1 ConsSymbolSym1 Source # 
Instance details

Defined in GHC.TypeLits.Singletons

Methods

liftSing :: forall (x :: Char). Sing x -> Sing (ConsSymbolSym1 x) #

Eq1 (UChar :: Type -> Type) #

Since: base-4.21.0.0

Instance details

Defined in Data.Functor.Classes

Methods

liftEq :: (a -> b -> Bool) -> UChar a -> UChar b -> Bool #

Ord1 (UChar :: Type -> Type) #

Since: base-4.21.0.0

Instance details

Defined in Data.Functor.Classes

Methods

liftCompare :: (a -> b -> Ordering) -> UChar a -> UChar b -> Ordering #

Show1 (UChar :: Type -> Type) #

Since: base-4.21.0.0

Instance details

Defined in Data.Functor.Classes

Methods

liftShowsPrec :: (Int -> a -> ShowS) -> ([a] -> ShowS) -> Int -> UChar a -> ShowS #

liftShowList :: (Int -> a -> ShowS) -> ([a] -> ShowS) -> [UChar a] -> ShowS #

Foldable (UChar :: Type -> Type) #

Since: base-4.9.0.0

Instance details

Defined in GHC.Internal.Data.Foldable

Methods

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 #

toList :: UChar a -> [a] #

null :: UChar a -> Bool #

length :: UChar a -> Int #

elem :: Eq a => a -> UChar a -> Bool #

maximum :: Ord a => UChar a -> a #

minimum :: Ord a => UChar a -> a #

sum :: Num a => UChar a -> a #

product :: Num a => UChar a -> a #

Traversable (UChar :: Type -> Type) #

Since: base-4.9.0.0

Instance details

Defined in GHC.Internal.Data.Traversable

Methods

traverse :: Applicative f => (a -> f b) -> UChar a -> f (UChar b) #

sequenceA :: Applicative f => UChar (f a) -> f (UChar a) #

mapM :: Monad m => (a -> m b) -> UChar a -> m (UChar b) #

sequence :: Monad m => UChar (m a) -> m (UChar a) #

Functor (URec Char :: Type -> Type) #

Since: base-4.9.0.0

Instance details

Defined in GHC.Internal.Generics

Methods

fmap :: (a -> b) -> URec Char a -> URec Char b #

(<$) :: a -> URec Char b -> URec Char a #

SingI ShowCharSym0 Source # 
Instance details

Defined in Text.Show.Singletons

SingI NatToCharSym0 Source # 
Instance details

Defined in GHC.TypeLits.Singletons

SingI ConsSymbolSym0 Source # 
Instance details

Defined in GHC.TypeLits.Singletons

SingI CharToNatSym0 Source # 
Instance details

Defined in GHC.TypeLits.Singletons

SingI UnconsSymbolSym0 Source # 
Instance details

Defined in GHC.TypeLits.Singletons

SuppressUnusedWarnings NatToCharSym0 Source # 
Instance details

Defined in GHC.TypeLits.Singletons

SuppressUnusedWarnings ConsSymbolSym0 Source # 
Instance details

Defined in GHC.TypeLits.Singletons

SuppressUnusedWarnings ShowCharSym0 Source # 
Instance details

Defined in Text.Show.Singletons

SuppressUnusedWarnings CharToNatSym0 Source # 
Instance details

Defined in GHC.TypeLits.Singletons

SuppressUnusedWarnings KnownCharSym0 Source # 
Instance details

Defined in GHC.TypeLits.Singletons

SuppressUnusedWarnings UnconsSymbolSym0 Source # 
Instance details

Defined in GHC.TypeLits.Singletons

SMonadFail m => SingI (FailSym0 :: TyFun [Char] (m a) -> Type) Source # 
Instance details

Defined in Control.Monad.Fail.Singletons

Methods

sing :: Sing (FailSym0 :: TyFun [Char] (m a) -> Type) #

SuppressUnusedWarnings (FailSym0 :: TyFun [Char] (m a) -> Type) Source # 
Instance details

Defined in Control.Monad.Fail.Singletons

Generic (URec Char p) # 
Instance details

Defined in GHC.Internal.Generics

Associated Types

type Rep (URec Char p)

Since: base-4.9.0.0

Instance details

Defined in GHC.Internal.Generics

type Rep (URec Char p) = D1 ('MetaData "URec" "GHC.Internal.Generics" "ghc-internal" 'False) (C1 ('MetaCons "UChar" 'PrefixI 'True) (S1 ('MetaSel ('Just "uChar#") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (UChar :: Type -> Type)))

Methods

from :: URec Char p -> Rep (URec Char p) x #

to :: Rep (URec Char p) x -> URec Char p #

Show (URec Char p) #

Since: base-4.9.0.0

Instance details

Defined in GHC.Internal.Generics

Methods

showsPrec :: Int -> URec Char p -> ShowS #

show :: URec Char p -> String #

showList :: [URec Char p] -> ShowS #

Eq (URec Char p) #

Since: base-4.9.0.0

Instance details

Defined in GHC.Internal.Generics

Methods

(==) :: URec Char p -> URec Char p -> Bool #

(/=) :: URec Char p -> URec Char p -> Bool #

Ord (URec Char p) #

Since: base-4.9.0.0

Instance details

Defined in GHC.Internal.Generics

Methods

compare :: URec Char p -> URec Char p -> Ordering #

(<) :: URec Char p -> URec Char p -> Bool #

(<=) :: URec Char p -> URec Char p -> Bool #

(>) :: URec Char p -> URec Char p -> Bool #

(>=) :: URec Char p -> URec Char p -> Bool #

max :: URec Char p -> URec Char p -> URec Char p #

min :: URec Char p -> URec Char p -> URec Char p #

type Demote Char Source # 
Instance details

Defined in GHC.TypeLits.Singletons.Internal

type Sing Source # 
Instance details

Defined in GHC.TypeLits.Singletons.Internal

type Sing = SChar
type MaxBound Source # 
Instance details

Defined in Data.Singletons.Base.Enum

type MinBound Source # 
Instance details

Defined in Data.Singletons.Base.Enum

data URec Char (p :: k) #

Used for marking occurrences of Char#

Since: base-4.9.0.0

Instance details

Defined in GHC.Internal.Generics

data URec Char (p :: k) = UChar {}
type FromEnum (a :: Char) Source # 
Instance details

Defined in Data.Singletons.Base.Enum

type FromEnum (a :: Char)
type Pred (arg :: Char) Source # 
Instance details

Defined in Data.Singletons.Base.Enum

type Pred (arg :: Char)
type Succ (arg :: Char) Source # 
Instance details

Defined in Data.Singletons.Base.Enum

type Succ (arg :: Char)
type ToEnum a Source # 
Instance details

Defined in Data.Singletons.Base.Enum

type ToEnum a
type Show_ (arg :: Char) Source # 
Instance details

Defined in Text.Show.Singletons

type Show_ (arg :: Char)
type Compare (a :: Char) (b :: Char) # 
Instance details

Defined in GHC.Internal.Data.Type.Ord

type Compare (a :: Char) (b :: Char) = CmpChar a b
type (arg :: Char) /= (arg1 :: Char) Source # 
Instance details

Defined in GHC.TypeLits.Singletons.Internal

type (arg :: Char) /= (arg1 :: Char)
type (x :: Char) == (y :: Char) Source # 
Instance details

Defined in GHC.TypeLits.Singletons.Internal

type (x :: Char) == (y :: Char) = DefaultEq x y
type (arg :: Char) < (arg1 :: Char) Source # 
Instance details

Defined in GHC.TypeLits.Singletons.Internal

type (arg :: Char) < (arg1 :: Char)
type (arg :: Char) <= (arg1 :: Char) Source # 
Instance details

Defined in GHC.TypeLits.Singletons.Internal

type (arg :: Char) <= (arg1 :: Char)
type (arg :: Char) > (arg1 :: Char) Source # 
Instance details

Defined in GHC.TypeLits.Singletons.Internal

type (arg :: Char) > (arg1 :: Char)
type (arg :: Char) >= (arg1 :: Char) Source # 
Instance details

Defined in GHC.TypeLits.Singletons.Internal

type (arg :: Char) >= (arg1 :: Char)
type Compare (a :: Char) (b :: Char) Source # 
Instance details

Defined in GHC.TypeLits.Singletons.Internal

type Compare (a :: Char) (b :: Char) = CmpChar a b
type Max (arg :: Char) (arg1 :: Char) Source # 
Instance details

Defined in GHC.TypeLits.Singletons.Internal

type Max (arg :: Char) (arg1 :: Char)
type Min (arg :: Char) (arg1 :: Char) Source # 
Instance details

Defined in GHC.TypeLits.Singletons.Internal

type Min (arg :: Char) (arg1 :: Char)
type EnumFromTo (arg1 :: Char) (arg2 :: Char) Source # 
Instance details

Defined in Data.Singletons.Base.Enum

type EnumFromTo (arg1 :: Char) (arg2 :: Char)
type ShowList (cs :: [Char]) x Source # 
Instance details

Defined in Text.Show.Singletons

type ShowList (cs :: [Char]) x
type Apply NatToCharSym0 (a6989586621679382082 :: Natural) Source # 
Instance details

Defined in GHC.TypeLits.Singletons

type Apply NatToCharSym0 (a6989586621679382082 :: Natural) = NatToChar a6989586621679382082
type Apply CharToNatSym0 (a6989586621679381852 :: Char) Source # 
Instance details

Defined in GHC.TypeLits.Singletons

type Apply CharToNatSym0 (a6989586621679381852 :: Char) = CharToNat a6989586621679381852
type Apply KnownCharSym0 (a6989586621679377841 :: Char) Source # 
Instance details

Defined in GHC.TypeLits.Singletons

type Apply KnownCharSym0 (a6989586621679377841 :: Char) = KnownChar a6989586621679377841
type EnumFromThenTo (arg1 :: Char) (arg2 :: Char) (arg3 :: Char) Source # 
Instance details

Defined in Data.Singletons.Base.Enum

type EnumFromThenTo (arg1 :: Char) (arg2 :: Char) (arg3 :: Char)
type ShowsPrec p (c :: Char) x Source # 
Instance details

Defined in Text.Show.Singletons

type ShowsPrec p (c :: Char) x
type Apply UnconsSymbolSym0 (a6989586621679381627 :: Symbol) Source # 
Instance details

Defined in GHC.TypeLits.Singletons

type Apply UnconsSymbolSym0 (a6989586621679381627 :: Symbol) = UnconsSymbol a6989586621679381627
type Rep1 (URec Char :: k -> Type) #

Since: base-4.9.0.0

Instance details

Defined in GHC.Internal.Generics

type Rep1 (URec Char :: k -> Type) = D1 ('MetaData "URec" "GHC.Internal.Generics" "ghc-internal" 'False) (C1 ('MetaCons "UChar" 'PrefixI 'True) (S1 ('MetaSel ('Just "uChar#") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (UChar :: k -> Type)))
type Apply ConsSymbolSym0 (a6989586621679381116 :: Char) Source # 
Instance details

Defined in GHC.TypeLits.Singletons

type Apply ConsSymbolSym0 (a6989586621679381116 :: Char) = ConsSymbolSym1 a6989586621679381116
type Apply ShowCharSym0 (a6989586621679807375 :: Char) Source # 
Instance details

Defined in Text.Show.Singletons

type Apply ShowCharSym0 (a6989586621679807375 :: Char) = ShowCharSym1 a6989586621679807375
type Apply (FailSym0 :: TyFun [Char] (m a) -> Type) (a6989586621679365940 :: [Char]) Source # 
Instance details

Defined in Control.Monad.Fail.Singletons

type Apply (FailSym0 :: TyFun [Char] (m a) -> Type) (a6989586621679365940 :: [Char]) = Fail a6989586621679365940 :: m a
type Rep (URec Char p) #

Since: base-4.9.0.0

Instance details

Defined in GHC.Internal.Generics

type Rep (URec Char p) = D1 ('MetaData "URec" "GHC.Internal.Generics" "ghc-internal" 'False) (C1 ('MetaCons "UChar" 'PrefixI 'True) (S1 ('MetaSel ('Just "uChar#") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (UChar :: Type -> Type)))

type family Sing :: k -> Type #

Instances

Instances details
type Sing Source # 
Instance details

Defined in Data.Singletons.Base.Instances

type Sing = SVoid
type Sing Source # 
Instance details

Defined in Data.Semigroup.Singletons.Internal.Wrappers

type Sing = SAll
type Sing Source # 
Instance details

Defined in Data.Semigroup.Singletons.Internal.Wrappers

type Sing = SAny
type Sing Source # 
Instance details

Defined in Data.Singletons.Base.Instances

type Sing Source # 
Instance details

Defined in Data.Singletons.Base.TypeError

type Sing Source # 
Instance details

Defined in GHC.TypeLits.Singletons.Internal

type Sing = SNat
type Sing Source # 
Instance details

Defined in Data.Singletons.Base.Instances

type Sing = STuple0
type Sing Source # 
Instance details

Defined in Data.Singletons.Base.Instances

type Sing = SBool
type Sing Source # 
Instance details

Defined in GHC.TypeLits.Singletons.Internal

type Sing = SChar
type Sing Source # 
Instance details

Defined in GHC.TypeLits.Singletons.Internal

type Sing = SSymbol
type Sing Source # 
Instance details

Defined in Data.Semigroup.Singletons.Internal.Wrappers

type Sing = SFirst :: First a -> Type
type Sing Source # 
Instance details

Defined in Data.Semigroup.Singletons.Internal.Wrappers

type Sing = SLast :: Last a -> Type
type Sing Source # 
Instance details

Defined in Data.Semigroup.Singletons.Internal.Wrappers

type Sing = SMax :: Max a -> Type
type Sing Source # 
Instance details

Defined in Data.Semigroup.Singletons.Internal.Wrappers

type Sing = SMin :: Min a -> Type
type Sing Source # 
Instance details

Defined in Data.Semigroup.Singletons.Internal.Wrappers

type Sing Source # 
Instance details

Defined in Data.Singletons.Base.Instances

type Sing = SNonEmpty :: NonEmpty a -> Type
type Sing Source # 
Instance details

Defined in Data.Singletons.Base.Instances

type Sing = SIdentity :: Identity a -> Type
type Sing Source # 
Instance details

Defined in Data.Monoid.Singletons

type Sing = SFirst :: First a -> Type
type Sing Source # 
Instance details

Defined in Data.Monoid.Singletons

type Sing = SLast :: Last a -> Type
type Sing Source # 
Instance details

Defined in Data.Ord.Singletons

type Sing = SDown :: Down a -> Type
type Sing Source # 
Instance details

Defined in Data.Semigroup.Singletons.Internal.Wrappers

type Sing = SDual :: Dual a -> Type
type Sing Source # 
Instance details

Defined in Data.Semigroup.Singletons.Internal.Wrappers

type Sing = SProduct :: Product a -> Type
type Sing Source # 
Instance details

Defined in Data.Semigroup.Singletons.Internal.Wrappers

type Sing = SSum :: Sum a -> Type
type Sing Source # 
Instance details

Defined in Data.Singletons.Base.Instances

type Sing = SMaybe :: Maybe a -> Type
type Sing Source #

A choice of singleton for the kind TYPE rep (for some RuntimeRep rep), an instantiation of which is the famous kind Type.

Conceivably, one could generalize this instance to `Sing @k` for any kind k, and remove all other Sing instances. We don't adopt this design, however, since it is far more convenient in practice to work with explicit singleton values than TypeReps (for instance, TypeReps are more difficult to pattern match on, and require extra runtime checks).

We cannot produce explicit singleton values for everything in TYPE rep, however, since it is an open kind, so we reach for TypeRep in this one particular case.

Instance details

Defined in Data.Singletons.Base.TypeRepTYPE

type Sing = TypeRep :: TYPE rep -> Type
type Sing Source # 
Instance details

Defined in Data.Singletons.Base.Instances

type Sing = SList :: [a] -> Type
type Sing Source # 
Instance details

Defined in Data.Semigroup.Singletons

type Sing = SArg :: Arg a b -> Type
type Sing Source # 
Instance details

Defined in Data.Singletons.Base.Instances

type Sing = SEither :: Either a b -> Type
type Sing Source # 
Instance details

Defined in Data.Proxy.Singletons

type Sing = SProxy :: Proxy t -> Type
type Sing # 
Instance details

Defined in Data.Singletons

type Sing # 
Instance details

Defined in Data.Singletons

type Sing = SLambda :: (k1 ~> k2) -> Type
type Sing # 
Instance details

Defined in Data.Singletons.Sigma

type Sing = SSigma :: Sigma s t -> Type
type Sing Source # 
Instance details

Defined in Data.Singletons.Base.Instances

type Sing = STuple2 :: (a, b) -> Type
type Sing Source # 
Instance details

Defined in Data.Functor.Const.Singletons

type Sing = SConst :: Const a b -> Type
type Sing Source # 
Instance details

Defined in Data.Singletons.Base.Instances

type Sing = STuple3 :: (a, b, c) -> Type
type Sing Source # 
Instance details

Defined in Data.Functor.Product.Singletons

type Sing = SProduct :: Product f g a -> Type
type Sing Source # 
Instance details

Defined in Data.Functor.Sum.Singletons

type Sing = SSum :: Sum f g a -> Type
type Sing Source # 
Instance details

Defined in Data.Singletons.Base.Instances

type Sing = STuple4 :: (a, b, c, d) -> Type
type Sing Source # 
Instance details

Defined in Data.Functor.Compose.Singletons

type Sing = SCompose :: Compose f g a -> Type
type Sing Source # 
Instance details

Defined in Data.Singletons.Base.Instances

type Sing = STuple5 :: (a, b, c, d, e) -> Type
type Sing Source # 
Instance details

Defined in Data.Singletons.Base.Instances

type Sing = STuple6 :: (a, b, c, d, e, f) -> Type
type Sing Source # 
Instance details

Defined in Data.Singletons.Base.Instances

type Sing = STuple7 :: (a, b, c, d, e, f, g) -> Type

data SNat (n :: Nat) #

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 SNat n (aside from bottom).

The definition of SNat is intentionally left abstract. To obtain an SNat value, use one of the following:

  1. The natSing method of KnownNat.
  2. The SNat pattern synonym.
  3. The withSomeSNat function, which creates an SNat from a Natural number.

Since: base-4.18.0.0

Instances

Instances details
TestCoercion SNat #

Since: base-4.18.0.0

Instance details

Defined in GHC.Internal.TypeNats

Methods

testCoercion :: forall (a :: Nat) (b :: Nat). SNat a -> SNat b -> Maybe (Coercion a b) #

TestEquality SNat #

Since: base-4.18.0.0

Instance details

Defined in GHC.Internal.TypeNats

Methods

testEquality :: forall (a :: Nat) (b :: Nat). SNat a -> SNat b -> Maybe (a :~: b) #

Show (SNat n) #

Since: base-4.18.0.0

Instance details

Defined in GHC.Internal.TypeNats

Methods

showsPrec :: Int -> SNat n -> ShowS #

show :: SNat n -> String #

showList :: [SNat n] -> ShowS #

Eq (SNat n) #

Since: base-4.19.0.0

Instance details

Defined in GHC.Internal.TypeNats

Methods

(==) :: SNat n -> SNat n -> Bool #

(/=) :: SNat n -> SNat n -> Bool #

Ord (SNat n) #

Since: base-4.19.0.0

Instance details

Defined in GHC.Internal.TypeNats

Methods

compare :: SNat n -> SNat n -> Ordering #

(<) :: SNat n -> SNat n -> Bool #

(<=) :: SNat n -> SNat n -> Bool #

(>) :: SNat n -> SNat n -> Bool #

(>=) :: SNat n -> SNat n -> Bool #

max :: SNat n -> SNat n -> SNat n #

min :: SNat n -> SNat n -> SNat n #

pattern SNat :: () => KnownNat n => SNat n #

A explicitly bidirectional pattern synonym relating an SNat to a KnownNat constraint.

As an expression: Constructs an explicit SNat n value from an implicit KnownNat n constraint:

SNat @n :: KnownNat n => SNat n

As a pattern: Matches on an explicit SNat n value bringing an implicit KnownNat n constraint into scope:

f :: SNat n -> ..
f SNat = {- KnownNat n in scope -}

Since: base-4.18.0.0

data SSymbol (s :: Symbol) #

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 SSymbol s (aside from bottom).

The definition of SSymbol is intentionally left abstract. To obtain an SSymbol value, use one of the following:

  1. The symbolSing method of KnownSymbol.
  2. The SSymbol pattern synonym.
  3. The withSomeSSymbol function, which creates an SSymbol from a String.

Since: base-4.18.0.0

Instances

Instances details
TestCoercion SSymbol #

Since: base-4.18.0.0

Instance details

Defined in GHC.Internal.TypeLits

Methods

testCoercion :: forall (a :: Symbol) (b :: Symbol). SSymbol a -> SSymbol b -> Maybe (Coercion a b) #

TestEquality SSymbol #

Since: base-4.18.0.0

Instance details

Defined in GHC.Internal.TypeLits

Methods

testEquality :: forall (a :: Symbol) (b :: Symbol). SSymbol a -> SSymbol b -> Maybe (a :~: b) #

Show (SSymbol s) #

Since: base-4.18.0.0

Instance details

Defined in GHC.Internal.TypeLits

Methods

showsPrec :: Int -> SSymbol s -> ShowS #

show :: SSymbol s -> String #

showList :: [SSymbol s] -> ShowS #

Eq (SSymbol s) #

Since: base-4.19.0.0

Instance details

Defined in GHC.Internal.TypeLits

Methods

(==) :: SSymbol s -> SSymbol s -> Bool #

(/=) :: SSymbol s -> SSymbol s -> Bool #

Ord (SSymbol s) #

Since: base-4.19.0.0

Instance details

Defined in GHC.Internal.TypeLits

Methods

compare :: SSymbol s -> SSymbol s -> Ordering #

(<) :: SSymbol s -> SSymbol s -> Bool #

(<=) :: SSymbol s -> SSymbol s -> Bool #

(>) :: SSymbol s -> SSymbol s -> Bool #

(>=) :: SSymbol s -> SSymbol s -> Bool #

max :: SSymbol s -> SSymbol s -> SSymbol s #

min :: SSymbol s -> SSymbol s -> SSymbol s #

pattern SSymbol :: () => KnownSymbol s => SSymbol s #

A explicitly bidirectional pattern synonym relating an SSymbol to a KnownSymbol constraint.

As an expression: Constructs an explicit SSymbol s value from an implicit KnownSymbol s constraint:

SSymbol @s :: KnownSymbol s => SSymbol s

As a pattern: Matches on an explicit SSymbol s value bringing an implicit KnownSymbol s constraint into scope:

f :: SSymbol s -> ..
f SSymbol = {- KnownSymbol s in scope -}

Since: base-4.18.0.0

pattern SSym :: () => KnownSymbol s => SSymbol s Source #

An alias for the SSymbol pattern synonym.

data SChar (s :: Char) #

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 SChar c (aside from bottom).

The definition of SChar is intentionally left abstract. To obtain an SChar value, use one of the following:

  1. The charSing method of KnownChar.
  2. The SChar pattern synonym.
  3. The withSomeSChar function, which creates an SChar from a Char.

Since: base-4.18.0.0

Instances

Instances details
TestCoercion SChar #

Since: base-4.18.0.0

Instance details

Defined in GHC.Internal.TypeLits

Methods

testCoercion :: forall (a :: Char) (b :: Char). SChar a -> SChar b -> Maybe (Coercion a b) #

TestEquality SChar #

Since: base-4.18.0.0

Instance details

Defined in GHC.Internal.TypeLits

Methods

testEquality :: forall (a :: Char) (b :: Char). SChar a -> SChar b -> Maybe (a :~: b) #

Show (SChar c) #

Since: base-4.18.0.0

Instance details

Defined in GHC.Internal.TypeLits

Methods

showsPrec :: Int -> SChar c -> ShowS #

show :: SChar c -> String #

showList :: [SChar c] -> ShowS #

Eq (SChar c) #

Since: base-4.19.0.0

Instance details

Defined in GHC.Internal.TypeLits

Methods

(==) :: SChar c -> SChar c -> Bool #

(/=) :: SChar c -> SChar c -> Bool #

Ord (SChar c) #

Since: base-4.19.0.0

Instance details

Defined in GHC.Internal.TypeLits

Methods

compare :: SChar c -> SChar c -> Ordering #

(<) :: SChar c -> SChar c -> Bool #

(<=) :: SChar c -> SChar c -> Bool #

(>) :: SChar c -> SChar c -> Bool #

(>=) :: SChar c -> SChar c -> Bool #

max :: SChar c -> SChar c -> SChar c #

min :: SChar c -> SChar c -> SChar c #

pattern SChar :: () => KnownChar c => SChar c #

A explicitly bidirectional pattern synonym relating an SChar to a KnownChar constraint.

As an expression: Constructs an explicit SChar c value from an implicit KnownChar c constraint:

SChar @c :: KnownChar c => SChar c

As a pattern: Matches on an explicit SChar c value bringing an implicit KnownChar c constraint into scope:

f :: SChar c -> ..
f SChar = {- KnownChar c in scope -}

Since: base-4.18.0.0

withKnownNat :: forall (n :: Nat) r. SNat n -> (KnownNat n => r) -> r #

Convert an explicit SNat n value into an implicit KnownNat n constraint.

Since: base-4.18.0.0

withKnownSymbol :: forall (s :: Symbol) r. SSymbol s -> (KnownSymbol s => r) -> r #

Convert an explicit SSymbol s value into an implicit KnownSymbol s constraint.

Since: base-4.18.0.0

withKnownChar :: forall (c :: Char) r. SChar c -> (KnownChar c => r) -> r #

Convert an explicit SChar c value into an implicit KnownChar c constraint.

Since: base-4.18.0.0

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 raw Symbols.
  • 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.

sError :: forall a (str :: Symbol). HasCallStack => Sing str -> Sing (Error str :: a) Source #

The singleton for error.

type family ErrorWithoutStackTrace (str :: Symbol) :: a where ... Source #

The promotion of errorWithoutStackTrace.

sErrorWithoutStackTrace :: forall a (str :: Symbol). Sing str -> Sing (ErrorWithoutStackTrace str :: a) Source #

The singleton for errorWithoutStackTrace.

type family Undefined :: forall a. a where ... Source #

The promotion of undefined.

class KnownNat (n :: Nat) #

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

Minimal complete definition

natSing

natVal :: forall (n :: Nat) proxy. KnownNat n => proxy n -> Natural #

Since: base-4.10.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

Minimal complete definition

symbolSing

symbolVal :: forall (n :: Symbol) proxy. KnownSymbol n => proxy n -> String #

Since: base-4.7.0.0

class KnownChar (n :: Char) #

Since: base-4.16.0.0

Minimal complete definition

charSing

charVal :: forall (n :: Char) proxy. KnownChar n => proxy n -> Char #

type family (a :: Natural) ^ (b :: Natural) :: Natural where ... infixr 8 #

Exponentiation of type-level naturals.

Since: base-4.7.0.0

(%^) :: forall (a :: Natural) (b :: Natural). Sing a -> Sing b -> Sing (a ^ b) infixr 8 Source #

The singleton analogue of (^) for Naturals.

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 <=? b) ~ 'True does not imply anything about a <= b or any other PEq / 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

sLog2 :: forall (x :: Natural). Sing x -> Sing (Log2 x) Source #

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

sDiv :: forall (x :: Natural) (y :: Natural). Sing x -> Sing y -> Sing (Div x y) infixl 7 Source #

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

sMod :: forall (x :: Natural) (y :: Natural). Sing x -> Sing y -> Sing (Mod x y) infixl 7 Source #

type family DivMod (a :: Natural) (a1 :: Natural) :: (Natural, Natural) where ... Source #

sDivMod :: forall (x :: Natural) (y :: Natural). Sing x -> Sing y -> Sing (DivMod x y) Source #

type family Quot (a :: Natural) (a1 :: Natural) :: Natural where ... infixl 7 Source #

Equations

Quot a_6989586621679379817 a_6989586621679379819 = Apply (Apply DivSym0 a_6989586621679379817) a_6989586621679379819 

sQuot :: forall (x :: Natural) (y :: Natural). Sing x -> Sing y -> Sing (Quot x y) infixl 7 Source #

type family Rem (a :: Natural) (a1 :: Natural) :: Natural where ... infixl 7 Source #

Equations

Rem a_6989586621679379806 a_6989586621679379808 = Apply (Apply ModSym0 a_6989586621679379806) a_6989586621679379808 

sRem :: forall (x :: Natural) (y :: Natural). Sing x -> Sing y -> Sing (Rem x y) infixl 7 Source #

type family QuotRem (a :: Natural) (a1 :: Natural) :: (Natural, Natural) where ... Source #

Equations

QuotRem a_6989586621679379828 a_6989586621679379830 = Apply (Apply DivModSym0 a_6989586621679379828) a_6989586621679379830 

sQuotRem :: forall (x :: Natural) (y :: Natural). Sing x -> Sing y -> Sing (QuotRem x y) Source #

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 #

type family UnconsSymbol (a :: Symbol) :: Maybe (Char, Symbol) where ... #

This type family yields type-level Just storing the first character of a symbol and its tail if it is defined and Nothing otherwise.

Since: base-4.16.0.0

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

sCharToNat :: forall (x :: Char). Sing x -> Sing (CharToNat x) Source #

type family NatToChar (a :: Natural) :: Char where ... #

Convert a Unicode code point to a character (cf. chr)

Since: base-4.16.0.0

sNatToChar :: forall (x :: Natural). Sing x -> Sing (NatToChar x) Source #

Defunctionalization symbols

data ErrorSym0 (a1 :: TyFun Symbol a) Source #

Instances

Instances details
SingI (ErrorSym0 :: TyFun Symbol a -> Type) Source # 
Instance details

Defined in GHC.TypeLits.Singletons.Internal

Methods

sing :: Sing (ErrorSym0 :: TyFun Symbol a -> Type) #

SuppressUnusedWarnings (ErrorSym0 :: TyFun Symbol a -> Type) Source # 
Instance details

Defined in GHC.TypeLits.Singletons.Internal

type Apply (ErrorSym0 :: TyFun Symbol a -> Type) (a6989586621679368947 :: Symbol) Source # 
Instance details

Defined in GHC.TypeLits.Singletons.Internal

type Apply (ErrorSym0 :: TyFun Symbol a -> Type) (a6989586621679368947 :: Symbol) = Error a6989586621679368947 :: a

type family ErrorSym1 (a6989586621679368947 :: Symbol) :: a where ... Source #

Equations

ErrorSym1 a6989586621679368947 = Error a6989586621679368947 :: a 

data ErrorWithoutStackTraceSym0 (a1 :: TyFun Symbol a) Source #

Instances

Instances details
SingI (ErrorWithoutStackTraceSym0 :: TyFun Symbol a -> Type) Source # 
Instance details

Defined in GHC.TypeLits.Singletons.Internal

SuppressUnusedWarnings (ErrorWithoutStackTraceSym0 :: TyFun Symbol a -> Type) Source # 
Instance details

Defined in GHC.TypeLits.Singletons.Internal

type Apply (ErrorWithoutStackTraceSym0 :: TyFun Symbol a -> Type) (a6989586621679369227 :: Symbol) Source # 
Instance details

Defined in GHC.TypeLits.Singletons.Internal

type Apply (ErrorWithoutStackTraceSym0 :: TyFun Symbol a -> Type) (a6989586621679369227 :: Symbol) = ErrorWithoutStackTrace a6989586621679369227 :: a

type family ErrorWithoutStackTraceSym1 (a6989586621679369227 :: Symbol) :: a where ... Source #

Equations

ErrorWithoutStackTraceSym1 a6989586621679369227 = ErrorWithoutStackTrace a6989586621679369227 :: a 

type family UndefinedSym0 :: a where ... Source #

data KnownNatSym0 (a :: TyFun Nat Constraint) Source #

Instances

Instances details
SuppressUnusedWarnings KnownNatSym0 Source # 
Instance details

Defined in GHC.TypeLits.Singletons

type Apply KnownNatSym0 (a6989586621679377837 :: Nat) Source # 
Instance details

Defined in GHC.TypeLits.Singletons

type Apply KnownNatSym0 (a6989586621679377837 :: Nat) = KnownNat a6989586621679377837

type family KnownNatSym1 (a6989586621679377837 :: Nat) where ... Source #

Equations

KnownNatSym1 a6989586621679377837 = KnownNat a6989586621679377837 

data KnownSymbolSym0 (a :: TyFun Symbol Constraint) Source #

Instances

Instances details
SuppressUnusedWarnings KnownSymbolSym0 Source # 
Instance details

Defined in GHC.TypeLits.Singletons

type Apply KnownSymbolSym0 (a6989586621679377839 :: Symbol) Source # 
Instance details

Defined in GHC.TypeLits.Singletons

type Apply KnownSymbolSym0 (a6989586621679377839 :: Symbol) = KnownSymbol a6989586621679377839

type family KnownSymbolSym1 (a6989586621679377839 :: Symbol) where ... Source #

Equations

KnownSymbolSym1 a6989586621679377839 = KnownSymbol a6989586621679377839 

data KnownCharSym0 (a :: TyFun Char Constraint) Source #

Instances

Instances details
SuppressUnusedWarnings KnownCharSym0 Source # 
Instance details

Defined in GHC.TypeLits.Singletons

type Apply KnownCharSym0 (a6989586621679377841 :: Char) Source # 
Instance details

Defined in GHC.TypeLits.Singletons

type Apply KnownCharSym0 (a6989586621679377841 :: Char) = KnownChar a6989586621679377841

type family KnownCharSym1 (a6989586621679377841 :: Char) where ... Source #

Equations

KnownCharSym1 a6989586621679377841 = KnownChar a6989586621679377841 

data (^@#@$) (a :: TyFun Natural (Natural ~> Natural)) infixr 8 Source #

Instances

Instances details
SingI (^@#@$) Source # 
Instance details

Defined in GHC.TypeLits.Singletons.Internal

Methods

sing :: Sing (^@#@$) #

SuppressUnusedWarnings (^@#@$) Source # 
Instance details

Defined in GHC.TypeLits.Singletons.Internal

type Apply (^@#@$) (a6989586621679369666 :: Natural) Source # 
Instance details

Defined in GHC.TypeLits.Singletons.Internal

type Apply (^@#@$) (a6989586621679369666 :: Natural) = (^@#@$$) a6989586621679369666

data (a6989586621679369666 :: Natural) ^@#@$$ (b :: TyFun Natural Natural) infixr 8 Source #

Instances

Instances details
SingI1 (^@#@$$) Source # 
Instance details

Defined in GHC.TypeLits.Singletons.Internal

Methods

liftSing :: forall (x :: Natural). Sing x -> Sing ((^@#@$$) x) #

SingI x => SingI ((^@#@$$) x :: TyFun Natural Natural -> Type) Source # 
Instance details

Defined in GHC.TypeLits.Singletons.Internal

Methods

sing :: Sing ((^@#@$$) x) #

SuppressUnusedWarnings ((^@#@$$) a6989586621679369666 :: TyFun Natural Natural -> Type) Source # 
Instance details

Defined in GHC.TypeLits.Singletons.Internal

type Apply ((^@#@$$) a6989586621679369666 :: TyFun Natural Natural -> Type) (a6989586621679369667 :: Natural) Source # 
Instance details

Defined in GHC.TypeLits.Singletons.Internal

type Apply ((^@#@$$) a6989586621679369666 :: TyFun Natural Natural -> Type) (a6989586621679369667 :: Natural) = a6989586621679369666 ^ a6989586621679369667

type family (a6989586621679369666 :: Natural) ^@#@$$$ (a6989586621679369667 :: Natural) :: Natural where ... infixr 8 Source #

Equations

a6989586621679369666 ^@#@$$$ a6989586621679369667 = a6989586621679369666 ^ a6989586621679369667 

data (<=?@#@$) (a :: TyFun k (k ~> Bool)) infix 4 Source #

Instances

Instances details
SingI ((<=?@#@$) :: TyFun Natural (Natural ~> Bool) -> Type) Source # 
Instance details

Defined in GHC.TypeLits.Singletons.Internal

SuppressUnusedWarnings ((<=?@#@$) :: TyFun k (k ~> Bool) -> Type) Source # 
Instance details

Defined in GHC.TypeLits.Singletons.Internal

type Apply ((<=?@#@$) :: TyFun k (k ~> Bool) -> Type) (a6989586621679370104 :: k) Source # 
Instance details

Defined in GHC.TypeLits.Singletons.Internal

type Apply ((<=?@#@$) :: TyFun k (k ~> Bool) -> Type) (a6989586621679370104 :: k) = (<=?@#@$$) a6989586621679370104

data (a6989586621679370104 :: k) <=?@#@$$ (b :: TyFun k Bool) infix 4 Source #

Instances

Instances details
SingI1 ((<=?@#@$$) :: Natural -> TyFun Natural Bool -> Type) Source # 
Instance details

Defined in GHC.TypeLits.Singletons.Internal

Methods

liftSing :: forall (x :: Natural). Sing x -> Sing ((<=?@#@$$) x) #

SingI x => SingI ((<=?@#@$$) x :: TyFun Natural Bool -> Type) Source # 
Instance details

Defined in GHC.TypeLits.Singletons.Internal

Methods

sing :: Sing ((<=?@#@$$) x) #

SuppressUnusedWarnings ((<=?@#@$$) a6989586621679370104 :: TyFun k Bool -> Type) Source # 
Instance details

Defined in GHC.TypeLits.Singletons.Internal

type Apply ((<=?@#@$$) a6989586621679370104 :: TyFun k Bool -> Type) (a6989586621679370105 :: k) Source # 
Instance details

Defined in GHC.TypeLits.Singletons.Internal

type Apply ((<=?@#@$$) a6989586621679370104 :: TyFun k Bool -> Type) (a6989586621679370105 :: k) = a6989586621679370104 <=? a6989586621679370105

type family (a6989586621679370104 :: k) <=?@#@$$$ (a6989586621679370105 :: k) :: Bool where ... infix 4 Source #

Equations

(a6989586621679370104 :: k) <=?@#@$$$ (a6989586621679370105 :: k) = a6989586621679370104 <=? a6989586621679370105 

data Log2Sym0 (a :: TyFun Natural Natural) Source #

Instances

Instances details
SingI Log2Sym0 Source # 
Instance details

Defined in GHC.TypeLits.Singletons

Methods

sing :: Sing Log2Sym0 #

SuppressUnusedWarnings Log2Sym0 Source # 
Instance details

Defined in GHC.TypeLits.Singletons

type Apply Log2Sym0 (a6989586621679378480 :: Natural) Source # 
Instance details

Defined in GHC.TypeLits.Singletons

type Apply Log2Sym0 (a6989586621679378480 :: Natural) = Log2 a6989586621679378480

type family Log2Sym1 (a6989586621679378480 :: Natural) :: Natural where ... Source #

Equations

Log2Sym1 a6989586621679378480 = Log2 a6989586621679378480 

data DivSym0 (a :: TyFun Natural (Natural ~> Natural)) infixl 7 Source #

Instances

Instances details
SingI DivSym0 Source # 
Instance details

Defined in GHC.TypeLits.Singletons

Methods

sing :: Sing DivSym0 #

SuppressUnusedWarnings DivSym0 Source # 
Instance details

Defined in GHC.TypeLits.Singletons

type Apply DivSym0 (a6989586621679378709 :: Natural) Source # 
Instance details

Defined in GHC.TypeLits.Singletons

type Apply DivSym0 (a6989586621679378709 :: Natural) = DivSym1 a6989586621679378709

data DivSym1 (a6989586621679378709 :: Natural) (b :: TyFun Natural Natural) infixl 7 Source #

Instances

Instances details
SingI1 DivSym1 Source # 
Instance details

Defined in GHC.TypeLits.Singletons

Methods

liftSing :: forall (x :: Natural). Sing x -> Sing (DivSym1 x) #

SingI x => SingI (DivSym1 x :: TyFun Natural Natural -> Type) Source # 
Instance details

Defined in GHC.TypeLits.Singletons

Methods

sing :: Sing (DivSym1 x) #

SuppressUnusedWarnings (DivSym1 a6989586621679378709 :: TyFun Natural Natural -> Type) Source # 
Instance details

Defined in GHC.TypeLits.Singletons

type Apply (DivSym1 a6989586621679378709 :: TyFun Natural Natural -> Type) (a6989586621679378710 :: Natural) Source # 
Instance details

Defined in GHC.TypeLits.Singletons

type Apply (DivSym1 a6989586621679378709 :: TyFun Natural Natural -> Type) (a6989586621679378710 :: Natural) = Div a6989586621679378709 a6989586621679378710

type family DivSym2 (a6989586621679378709 :: Natural) (a6989586621679378710 :: Natural) :: Natural where ... infixl 7 Source #

Equations

DivSym2 a6989586621679378709 a6989586621679378710 = Div a6989586621679378709 a6989586621679378710 

data ModSym0 (a :: TyFun Natural (Natural ~> Natural)) infixl 7 Source #

Instances

Instances details
SingI ModSym0 Source # 
Instance details

Defined in GHC.TypeLits.Singletons

Methods

sing :: Sing ModSym0 #

SuppressUnusedWarnings ModSym0 Source # 
Instance details

Defined in GHC.TypeLits.Singletons

type Apply ModSym0 (a6989586621679379154 :: Natural) Source # 
Instance details

Defined in GHC.TypeLits.Singletons

type Apply ModSym0 (a6989586621679379154 :: Natural) = ModSym1 a6989586621679379154

data ModSym1 (a6989586621679379154 :: Natural) (b :: TyFun Natural Natural) infixl 7 Source #

Instances

Instances details
SingI1 ModSym1 Source # 
Instance details

Defined in GHC.TypeLits.Singletons

Methods

liftSing :: forall (x :: Natural). Sing x -> Sing (ModSym1 x) #

SingI x => SingI (ModSym1 x :: TyFun Natural Natural -> Type) Source # 
Instance details

Defined in GHC.TypeLits.Singletons

Methods

sing :: Sing (ModSym1 x) #

SuppressUnusedWarnings (ModSym1 a6989586621679379154 :: TyFun Natural Natural -> Type) Source # 
Instance details

Defined in GHC.TypeLits.Singletons

type Apply (ModSym1 a6989586621679379154 :: TyFun Natural Natural -> Type) (a6989586621679379155 :: Natural) Source # 
Instance details

Defined in GHC.TypeLits.Singletons

type Apply (ModSym1 a6989586621679379154 :: TyFun Natural Natural -> Type) (a6989586621679379155 :: Natural) = Mod a6989586621679379154 a6989586621679379155

type family ModSym2 (a6989586621679379154 :: Natural) (a6989586621679379155 :: Natural) :: Natural where ... infixl 7 Source #

Equations

ModSym2 a6989586621679379154 a6989586621679379155 = Mod a6989586621679379154 a6989586621679379155 

data DivModSym0 (a :: TyFun Natural (Natural ~> (Natural, Natural))) Source #

Instances

Instances details
SuppressUnusedWarnings DivModSym0 Source # 
Instance details

Defined in GHC.TypeLits.Singletons

type Apply DivModSym0 (a6989586621679379842 :: Natural) Source # 
Instance details

Defined in GHC.TypeLits.Singletons

type Apply DivModSym0 (a6989586621679379842 :: Natural) = DivModSym1 a6989586621679379842

data DivModSym1 (a6989586621679379842 :: Natural) (b :: TyFun Natural (Natural, Natural)) Source #

Instances

Instances details
SuppressUnusedWarnings (DivModSym1 a6989586621679379842 :: TyFun Natural (Natural, Natural) -> Type) Source # 
Instance details

Defined in GHC.TypeLits.Singletons

type Apply (DivModSym1 a6989586621679379842 :: TyFun Natural (Natural, Natural) -> Type) (a6989586621679379843 :: Natural) Source # 
Instance details

Defined in GHC.TypeLits.Singletons

type Apply (DivModSym1 a6989586621679379842 :: TyFun Natural (Natural, Natural) -> Type) (a6989586621679379843 :: Natural) = DivMod a6989586621679379842 a6989586621679379843

type family DivModSym2 (a6989586621679379842 :: Natural) (a6989586621679379843 :: Natural) :: (Natural, Natural) where ... Source #

Equations

DivModSym2 a6989586621679379842 a6989586621679379843 = DivMod a6989586621679379842 a6989586621679379843 

data QuotSym0 (a :: TyFun Natural (Natural ~> Natural)) infixl 7 Source #

Instances

Instances details
SuppressUnusedWarnings QuotSym0 Source # 
Instance details

Defined in GHC.TypeLits.Singletons

type Apply QuotSym0 (a6989586621679379824 :: Natural) Source # 
Instance details

Defined in GHC.TypeLits.Singletons

type Apply QuotSym0 (a6989586621679379824 :: Natural) = QuotSym1 a6989586621679379824

data QuotSym1 (a6989586621679379824 :: Natural) (b :: TyFun Natural Natural) infixl 7 Source #

Instances

Instances details
SuppressUnusedWarnings (QuotSym1 a6989586621679379824 :: TyFun Natural Natural -> Type) Source # 
Instance details

Defined in GHC.TypeLits.Singletons

type Apply (QuotSym1 a6989586621679379824 :: TyFun Natural Natural -> Type) (a6989586621679379825 :: Natural) Source # 
Instance details

Defined in GHC.TypeLits.Singletons

type Apply (QuotSym1 a6989586621679379824 :: TyFun Natural Natural -> Type) (a6989586621679379825 :: Natural) = Quot a6989586621679379824 a6989586621679379825

type family QuotSym2 (a6989586621679379824 :: Natural) (a6989586621679379825 :: Natural) :: Natural where ... infixl 7 Source #

Equations

QuotSym2 a6989586621679379824 a6989586621679379825 = Quot a6989586621679379824 a6989586621679379825 

data RemSym0 (a :: TyFun Natural (Natural ~> Natural)) infixl 7 Source #

Instances

Instances details
SuppressUnusedWarnings RemSym0 Source # 
Instance details

Defined in GHC.TypeLits.Singletons

type Apply RemSym0 (a6989586621679379813 :: Natural) Source # 
Instance details

Defined in GHC.TypeLits.Singletons

type Apply RemSym0 (a6989586621679379813 :: Natural) = RemSym1 a6989586621679379813

data RemSym1 (a6989586621679379813 :: Natural) (b :: TyFun Natural Natural) infixl 7 Source #

Instances

Instances details
SuppressUnusedWarnings (RemSym1 a6989586621679379813 :: TyFun Natural Natural -> Type) Source # 
Instance details

Defined in GHC.TypeLits.Singletons

type Apply (RemSym1 a6989586621679379813 :: TyFun Natural Natural -> Type) (a6989586621679379814 :: Natural) Source # 
Instance details

Defined in GHC.TypeLits.Singletons

type Apply (RemSym1 a6989586621679379813 :: TyFun Natural Natural -> Type) (a6989586621679379814 :: Natural) = Rem a6989586621679379813 a6989586621679379814

type family RemSym2 (a6989586621679379813 :: Natural) (a6989586621679379814 :: Natural) :: Natural where ... infixl 7 Source #

Equations

RemSym2 a6989586621679379813 a6989586621679379814 = Rem a6989586621679379813 a6989586621679379814 

data QuotRemSym0 (a :: TyFun Natural (Natural ~> (Natural, Natural))) Source #

Instances

Instances details
SuppressUnusedWarnings QuotRemSym0 Source # 
Instance details

Defined in GHC.TypeLits.Singletons

type Apply QuotRemSym0 (a6989586621679379835 :: Natural) Source # 
Instance details

Defined in GHC.TypeLits.Singletons

type Apply QuotRemSym0 (a6989586621679379835 :: Natural) = QuotRemSym1 a6989586621679379835

data QuotRemSym1 (a6989586621679379835 :: Natural) (b :: TyFun Natural (Natural, Natural)) Source #

Instances

Instances details
SuppressUnusedWarnings (QuotRemSym1 a6989586621679379835 :: TyFun Natural (Natural, Natural) -> Type) Source # 
Instance details

Defined in GHC.TypeLits.Singletons

type Apply (QuotRemSym1 a6989586621679379835 :: TyFun Natural (Natural, Natural) -> Type) (a6989586621679379836 :: Natural) Source # 
Instance details

Defined in GHC.TypeLits.Singletons

type Apply (QuotRemSym1 a6989586621679379835 :: TyFun Natural (Natural, Natural) -> Type) (a6989586621679379836 :: Natural) = QuotRem a6989586621679379835 a6989586621679379836

type family QuotRemSym2 (a6989586621679379835 :: Natural) (a6989586621679379836 :: Natural) :: (Natural, Natural) where ... Source #

Equations

QuotRemSym2 a6989586621679379835 a6989586621679379836 = QuotRem a6989586621679379835 a6989586621679379836 

data ConsSymbolSym0 (a :: TyFun Char (Symbol ~> Symbol)) Source #

Instances

Instances details
SingI ConsSymbolSym0 Source # 
Instance details

Defined in GHC.TypeLits.Singletons

SuppressUnusedWarnings ConsSymbolSym0 Source # 
Instance details

Defined in GHC.TypeLits.Singletons

type Apply ConsSymbolSym0 (a6989586621679381116 :: Char) Source # 
Instance details

Defined in GHC.TypeLits.Singletons

type Apply ConsSymbolSym0 (a6989586621679381116 :: Char) = ConsSymbolSym1 a6989586621679381116

data ConsSymbolSym1 (a6989586621679381116 :: Char) (b :: TyFun Symbol Symbol) Source #

Instances

Instances details
SingI1 ConsSymbolSym1 Source # 
Instance details

Defined in GHC.TypeLits.Singletons

Methods

liftSing :: forall (x :: Char). Sing x -> Sing (ConsSymbolSym1 x) #

SingI x => SingI (ConsSymbolSym1 x :: TyFun Symbol Symbol -> Type) Source # 
Instance details

Defined in GHC.TypeLits.Singletons

Methods

sing :: Sing (ConsSymbolSym1 x) #

SuppressUnusedWarnings (ConsSymbolSym1 a6989586621679381116 :: TyFun Symbol Symbol -> Type) Source # 
Instance details

Defined in GHC.TypeLits.Singletons

type Apply (ConsSymbolSym1 a6989586621679381116 :: TyFun Symbol Symbol -> Type) (a6989586621679381117 :: Symbol) Source # 
Instance details

Defined in GHC.TypeLits.Singletons

type Apply (ConsSymbolSym1 a6989586621679381116 :: TyFun Symbol Symbol -> Type) (a6989586621679381117 :: Symbol) = ConsSymbol a6989586621679381116 a6989586621679381117

type family ConsSymbolSym2 (a6989586621679381116 :: Char) (a6989586621679381117 :: Symbol) :: Symbol where ... Source #

Equations

ConsSymbolSym2 a6989586621679381116 a6989586621679381117 = ConsSymbol a6989586621679381116 a6989586621679381117 

data UnconsSymbolSym0 (a :: TyFun Symbol (Maybe (Char, Symbol))) Source #

Instances

Instances details
SingI UnconsSymbolSym0 Source # 
Instance details

Defined in GHC.TypeLits.Singletons

SuppressUnusedWarnings UnconsSymbolSym0 Source # 
Instance details

Defined in GHC.TypeLits.Singletons

type Apply UnconsSymbolSym0 (a6989586621679381627 :: Symbol) Source # 
Instance details

Defined in GHC.TypeLits.Singletons

type Apply UnconsSymbolSym0 (a6989586621679381627 :: Symbol) = UnconsSymbol a6989586621679381627

type family UnconsSymbolSym1 (a6989586621679381627 :: Symbol) :: Maybe (Char, Symbol) where ... Source #

Equations

UnconsSymbolSym1 a6989586621679381627 = UnconsSymbol a6989586621679381627 

data CharToNatSym0 (a :: TyFun Char Natural) Source #

Instances

Instances details
SingI CharToNatSym0 Source # 
Instance details

Defined in GHC.TypeLits.Singletons

SuppressUnusedWarnings CharToNatSym0 Source # 
Instance details

Defined in GHC.TypeLits.Singletons

type Apply CharToNatSym0 (a6989586621679381852 :: Char) Source # 
Instance details

Defined in GHC.TypeLits.Singletons

type Apply CharToNatSym0 (a6989586621679381852 :: Char) = CharToNat a6989586621679381852

type family CharToNatSym1 (a6989586621679381852 :: Char) :: Natural where ... Source #

Equations

CharToNatSym1 a6989586621679381852 = CharToNat a6989586621679381852 

data NatToCharSym0 (a :: TyFun Natural Char) Source #

Instances

Instances details
SingI NatToCharSym0 Source # 
Instance details

Defined in GHC.TypeLits.Singletons

SuppressUnusedWarnings NatToCharSym0 Source # 
Instance details

Defined in GHC.TypeLits.Singletons

type Apply NatToCharSym0 (a6989586621679382082 :: Natural) Source # 
Instance details

Defined in GHC.TypeLits.Singletons

type Apply NatToCharSym0 (a6989586621679382082 :: Natural) = NatToChar a6989586621679382082

type family NatToCharSym1 (a6989586621679382082 :: Natural) :: Char where ... Source #

Equations

NatToCharSym1 a6989586621679382082 = NatToChar a6989586621679382082 

Orphan instances

Monoid Symbol Source # 
Instance details

Semigroup Symbol Source # 
Instance details

IsString Symbol Source # 
Instance details

Methods

fromString :: String -> Symbol #

Show Symbol Source # 
Instance details

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.

Instance details

Methods

(==) :: Symbol -> Symbol -> Bool #

(/=) :: Symbol -> Symbol -> Bool #

Ord Symbol Source # 
Instance details