singletons-base-3.1: A promoted and singled version of the base library
Copyright(C) 2014 Richard Eisenberg
LicenseBSD-style (see LICENSE)
MaintainerRyan Scott
Stabilityexperimental
Portabilitynon-portable
Safe HaskellSafe-Inferred
LanguageHaskell2010

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
Enum Natural

Since: base-4.8.0.0

Instance details

Defined in GHC.Enum

Ix Natural

Since: base-4.8.0.0

Instance details

Defined in GHC.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.Num

Read Natural

Since: base-4.8.0.0

Instance details

Defined in GHC.Read

Integral Natural

Since: base-4.8.0.0

Instance details

Defined in GHC.Real

Real Natural

Since: base-4.8.0.0

Instance details

Defined in GHC.Real

Show Natural

Since: base-4.8.0.0

Instance details

Defined in GHC.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

SingKind Natural 
Instance details

Defined in GHC.TypeLits.Singletons.Internal

Associated Types

type Demote Natural = (r :: Type)

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 arg == arg :: Bool Source #

type arg /= arg :: Bool Source #

SEq Natural Source # 
Instance details

Defined in GHC.TypeLits.Singletons.Internal

Methods

(%==) :: forall (t :: Natural) (t :: Natural). Sing t -> Sing t -> Sing (Apply (Apply (==@#@$) t) t) Source #

(%/=) :: forall (t :: Natural) (t :: Natural). Sing t -> Sing t -> Sing (Apply (Apply (/=@#@$) t) t) Source #

POrd Natural Source # 
Instance details

Defined in GHC.TypeLits.Singletons.Internal

Associated Types

type Compare arg arg :: Ordering Source #

type arg < arg :: Bool Source #

type arg <= arg :: Bool Source #

type arg > arg :: Bool Source #

type arg >= arg :: Bool Source #

type Max arg arg :: a Source #

type Min arg arg :: a Source #

SOrd Natural Source # 
Instance details

Defined in GHC.TypeLits.Singletons.Internal

Methods

sCompare :: forall (t :: Natural) (t :: Natural). Sing t -> Sing t -> Sing (Apply (Apply CompareSym0 t) t) Source #

(%<) :: forall (t :: Natural) (t :: Natural). Sing t -> Sing t -> Sing (Apply (Apply (<@#@$) t) t) Source #

(%<=) :: forall (t :: Natural) (t :: Natural). Sing t -> Sing t -> Sing (Apply (Apply (<=@#@$) t) t) Source #

(%>) :: forall (t :: Natural) (t :: Natural). Sing t -> Sing t -> Sing (Apply (Apply (>@#@$) t) t) Source #

(%>=) :: forall (t :: Natural) (t :: Natural). Sing t -> Sing t -> Sing (Apply (Apply (>=@#@$) t) t) Source #

sMax :: forall (t :: Natural) (t :: Natural). Sing t -> Sing t -> Sing (Apply (Apply MaxSym0 t) t) Source #

sMin :: forall (t :: Natural) (t :: Natural). Sing t -> Sing t -> Sing (Apply (Apply MinSym0 t) t) Source #

PEnum Natural Source # 
Instance details

Defined in Data.Singletons.Base.Enum

Associated Types

type Succ arg :: a Source #

type Pred arg :: a Source #

type ToEnum arg :: a Source #

type FromEnum arg :: Natural Source #

type EnumFromTo arg arg :: [a] Source #

type EnumFromThenTo arg arg arg :: [a] Source #

SEnum Natural Source # 
Instance details

Defined in Data.Singletons.Base.Enum

Methods

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

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

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

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

sEnumFromTo :: forall (t :: Natural) (t :: Natural). Sing t -> Sing t -> Sing (Apply (Apply EnumFromToSym0 t) t) Source #

sEnumFromThenTo :: forall (t :: Natural) (t :: Natural) (t :: Natural). Sing t -> Sing t -> Sing t -> Sing (Apply (Apply (Apply EnumFromThenToSym0 t) t) t) Source #

PNum Natural Source # 
Instance details

Defined in GHC.Num.Singletons

Associated Types

type arg + arg :: a Source #

type arg - arg :: a Source #

type arg * arg :: a Source #

type Negate arg :: a Source #

type Abs arg :: a Source #

type Signum arg :: a Source #

type FromInteger arg :: a Source #

SNum Natural Source # 
Instance details

Defined in GHC.Num.Singletons

Methods

(%+) :: forall (t :: Natural) (t :: Natural). Sing t -> Sing t -> Sing (Apply (Apply (+@#@$) t) t) Source #

(%-) :: forall (t :: Natural) (t :: Natural). Sing t -> Sing t -> Sing (Apply (Apply (-@#@$) t) t) Source #

(%*) :: forall (t :: Natural) (t :: Natural). Sing t -> Sing t -> Sing (Apply (Apply (*@#@$) t) t) Source #

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

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

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

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

PShow Natural Source # 
Instance details

Defined in Text.Show.Singletons

Associated Types

type ShowsPrec arg arg arg :: Symbol Source #

type Show_ arg :: Symbol Source #

type ShowList arg arg :: Symbol Source #

SShow Natural Source # 
Instance details

Defined in Text.Show.Singletons

Methods

sShowsPrec :: forall (t :: Natural) (t :: Natural) (t :: Symbol). Sing t -> Sing t -> Sing t -> Sing (Apply (Apply (Apply ShowsPrecSym0 t) t) t) Source #

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

sShowList :: forall (t :: [Natural]) (t :: Symbol). Sing t -> Sing t -> Sing (Apply (Apply ShowListSym0 t) t) Source #

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

Defined in GHC.TypeLits.Singletons.Internal

Methods

sing :: Sing n

Lift Natural 
Instance details

Defined in Language.Haskell.TH.Syntax

Methods

lift :: Quote m => Natural -> m Exp #

liftTyped :: forall (m :: Type -> Type). Quote m => Natural -> Code m Natural #

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

Defined in Text.Show.Singletons

Methods

liftSing2 :: forall (x :: k1) (y :: k2). Sing x -> Sing y -> Sing (ShowsPrecSym2 x y)

SingI1 DivSym1 
Instance details

Defined in GHC.TypeLits.Singletons

Methods

liftSing :: forall (x :: k1). Sing x -> Sing (DivSym1 x)

SingI1 ModSym1 
Instance details

Defined in GHC.TypeLits.Singletons

Methods

liftSing :: forall (x :: k1). Sing x -> Sing (ModSym1 x)

SingI1 (^@#@$$) 
Instance details

Defined in GHC.TypeLits.Singletons.Internal

Methods

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

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

Defined in Data.List.NonEmpty.Singletons

Methods

liftSing :: forall (x :: k1). Sing x -> Sing (SplitAtSym1 x)

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

Defined in Data.List.NonEmpty.Singletons

Methods

liftSing :: forall (x :: k1). Sing x -> Sing (DropSym1 x)

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

Defined in Data.List.NonEmpty.Singletons

Methods

liftSing :: forall (x :: k1). Sing x -> Sing (TakeSym1 x)

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

Defined in Data.List.Singletons.Internal

Methods

liftSing :: forall (x :: k1). Sing x -> Sing (SplitAtSym1 x)

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

Defined in Data.List.Singletons.Internal

Methods

liftSing :: forall (x :: k1). Sing x -> Sing (DropSym1 x)

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

Defined in Data.List.Singletons.Internal

Methods

liftSing :: forall (x :: k1). Sing x -> Sing (TakeSym1 x)

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

Defined in Text.Show.Singletons

Methods

liftSing :: forall (x :: k1). Sing x -> Sing (ShowsPrecSym1 x)

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

Defined in Data.List.Singletons.Internal

Methods

liftSing :: forall (x :: k1). Sing x -> Sing (ReplicateSym1 x)

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

Defined in GHC.TypeLits.Singletons.Internal

Methods

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

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

Defined in Data.List.Singletons.Internal

Methods

liftSing :: forall (x :: k1). Sing x -> Sing (ElemIndexSym1 x)

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

Defined in Data.List.Singletons.Internal

Methods

liftSing :: forall (x :: k1). Sing x -> Sing (ElemIndicesSym1 x)

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

Defined in Control.Monad.Singletons

Methods

liftSing :: forall (x :: k1). Sing x -> Sing (ReplicateM_Sym1 x)

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

Defined in Control.Monad.Singletons

Methods

liftSing :: forall (x :: k1). Sing x -> Sing (ReplicateMSym1 x)

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

Defined in Data.List.NonEmpty.Singletons

Methods

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

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

Defined in Data.List.Singletons.Internal

Methods

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

SingI DivSym0 
Instance details

Defined in GHC.TypeLits.Singletons

Methods

sing :: Sing DivSym0

SingI ModSym0 
Instance details

Defined in GHC.TypeLits.Singletons

Methods

sing :: Sing ModSym0

SingI (^@#@$) 
Instance details

Defined in GHC.TypeLits.Singletons.Internal

Methods

sing :: Sing (^@#@$)

SingI Log2Sym0 
Instance details

Defined in GHC.TypeLits.Singletons

Methods

sing :: Sing Log2Sym0

SingI NatToCharSym0 
Instance details

Defined in GHC.TypeLits.Singletons

SingI CharToNatSym0 
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 (FindIndexSym0 :: TyFun (a ~> Bool) ([a] ~> Maybe Natural) -> Type) 
Instance details

Defined in Data.List.Singletons.Internal

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

Defined in Data.List.Singletons.Internal

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

Defined in Data.List.NonEmpty.Singletons

Methods

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

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

Defined in Data.List.NonEmpty.Singletons

Methods

sing :: Sing LengthSym0

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

Defined in Data.List.NonEmpty.Singletons

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

Defined in Data.List.NonEmpty.Singletons

Methods

sing :: Sing DropSym0

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

Defined in Data.List.NonEmpty.Singletons

Methods

sing :: Sing TakeSym0

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

Defined in Data.List.Singletons.Internal

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

Defined in Data.List.Singletons.Internal

Methods

sing :: Sing DropSym0

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

Defined in Data.List.Singletons.Internal

Methods

sing :: Sing TakeSym0

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

Defined in Text.Show.Singletons

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

Defined in Data.List.Singletons.Internal

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

Defined in Data.Singletons.Base.Enum

Methods

sing :: Sing ToEnumSym0

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

Defined in GHC.Num.Singletons

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

Defined in Data.List.Singletons.Internal

Methods

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

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

Defined in Data.List.Singletons.Internal

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

Defined in Data.List.Singletons.Internal

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

Defined in Data.Singletons.Base.Enum

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

Defined in GHC.TypeLits.Singletons.Internal

Methods

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

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

Defined in GHC.TypeLits.Singletons

Methods

sing :: Sing (DivSym1 x)

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

Defined in GHC.TypeLits.Singletons

Methods

sing :: Sing (ModSym1 x)

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

Defined in GHC.TypeLits.Singletons.Internal

Methods

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

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 ((!!@#@$) :: 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 (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 a6989586621679558584 :: TyFun Natural Natural -> Type) Source # 
Instance details

Defined in GHC.TypeLits.Singletons

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

Defined in GHC.TypeLits.Singletons

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

Defined in GHC.TypeLits.Singletons

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

Defined in GHC.TypeLits.Singletons

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

Defined in GHC.TypeLits.Singletons.Internal

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

Defined in GHC.TypeLits.Singletons

SuppressUnusedWarnings (QuotRemSym1 a6989586621679559605 :: 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) 
Instance details

Defined in Control.Monad.Singletons

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

Defined in Control.Monad.Singletons

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

Defined in Data.List.NonEmpty.Singletons

Methods

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

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

Defined in Data.List.Singletons.Internal

Methods

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

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

Defined in Data.List.Singletons.Internal

Methods

sing :: Sing (ElemIndexSym1 d)

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

Defined in Data.List.Singletons.Internal

Methods

sing :: Sing (FindIndexSym1 d)

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

Defined in Data.List.Singletons.Internal

Methods

sing :: Sing (ElemIndicesSym1 d)

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

Defined in Data.List.Singletons.Internal

Methods

sing :: Sing (FindIndicesSym1 d)

SingI x => SingI ((<=?@#@$$) x :: TyFun Natural Bool -> Type) 
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 ((!!@#@$$) a6989586621681170133 :: TyFun Natural a -> Type) Source # 
Instance details

Defined in Data.List.NonEmpty.Singletons

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

Defined in Data.List.Singletons.Internal

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

Defined in Data.List.Singletons.Internal

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

Defined in Data.List.Singletons.Internal

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

Defined in Data.List.Singletons.Internal

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

Defined in Data.List.Singletons.Internal

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

Defined in Data.List.Singletons.Internal

Methods

liftSing :: forall (x :: k1). Sing x -> Sing (FindIndexSym1 x)

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

Defined in Data.List.Singletons.Internal

Methods

liftSing :: forall (x :: k1). Sing x -> Sing (FindIndicesSym1 x)

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

Defined in Data.Foldable.Singletons

Methods

sing :: Sing LengthSym0

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

Defined in Data.Foldable.Singletons

type Demote Natural 
Instance details

Defined in GHC.TypeLits.Singletons.Internal

type Demote Natural = Natural
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 Data.Type.Ord

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

Defined in GHC.TypeLits.Singletons.Internal

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

Defined in GHC.TypeLits.Singletons.Internal

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

Defined in GHC.TypeLits.Singletons.Internal

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

Defined in GHC.TypeLits.Singletons.Internal

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

Defined in GHC.TypeLits.Singletons.Internal

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

Defined in GHC.TypeLits.Singletons.Internal

type (arg1 :: Natural) >= (arg2 :: 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 (arg1 :: Natural) (arg2 :: Natural) Source # 
Instance details

Defined in GHC.TypeLits.Singletons.Internal

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

Defined in GHC.TypeLits.Singletons.Internal

type Min (arg1 :: Natural) (arg2 :: 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 (a6989586621679557763 :: Nat) 
Instance details

Defined in GHC.TypeLits.Singletons

type Apply KnownNatSym0 (a6989586621679557763 :: Nat) = KnownNat a6989586621679557763
type Apply Log2Sym0 (a6989586621679558354 :: Natural) 
Instance details

Defined in GHC.TypeLits.Singletons

type Apply Log2Sym0 (a6989586621679558354 :: Natural) = Log2 a6989586621679558354
type Apply NatToCharSym0 (a6989586621679561676 :: Natural) 
Instance details

Defined in GHC.TypeLits.Singletons

type Apply NatToCharSym0 (a6989586621679561676 :: Natural) = NatToChar a6989586621679561676
type Apply CharToNatSym0 (a6989586621679561453 :: Char) 
Instance details

Defined in GHC.TypeLits.Singletons

type Apply CharToNatSym0 (a6989586621679561453 :: Char) = CharToNat a6989586621679561453
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 a6989586621679558584 :: TyFun Natural Natural -> Type) (a6989586621679558585 :: Natural) 
Instance details

Defined in GHC.TypeLits.Singletons

type Apply (DivSym1 a6989586621679558584 :: TyFun Natural Natural -> Type) (a6989586621679558585 :: Natural) = Div a6989586621679558584 a6989586621679558585
type Apply (ModSym1 a6989586621679559017 :: TyFun Natural Natural -> Type) (a6989586621679559018 :: Natural) 
Instance details

Defined in GHC.TypeLits.Singletons

type Apply (ModSym1 a6989586621679559017 :: TyFun Natural Natural -> Type) (a6989586621679559018 :: Natural) = Mod a6989586621679559017 a6989586621679559018
type Apply (QuotSym1 a6989586621679559594 :: TyFun Natural Natural -> Type) (a6989586621679559595 :: Natural) 
Instance details

Defined in GHC.TypeLits.Singletons

type Apply (QuotSym1 a6989586621679559594 :: TyFun Natural Natural -> Type) (a6989586621679559595 :: Natural) = Quot a6989586621679559594 a6989586621679559595
type Apply (RemSym1 a6989586621679559583 :: TyFun Natural Natural -> Type) (a6989586621679559584 :: Natural) 
Instance details

Defined in GHC.TypeLits.Singletons

type Apply (RemSym1 a6989586621679559583 :: TyFun Natural Natural -> Type) (a6989586621679559584 :: Natural) = Rem a6989586621679559583 a6989586621679559584
type Apply ((^@#@$$) a6989586621679546930 :: TyFun Natural Natural -> Type) (a6989586621679546931 :: Natural) 
Instance details

Defined in GHC.TypeLits.Singletons.Internal

type Apply ((^@#@$$) a6989586621679546930 :: TyFun Natural Natural -> Type) (a6989586621679546931 :: Natural) = a6989586621679546930 ^ a6989586621679546931
type Apply (ToEnumSym0 :: TyFun Natural k2 -> Type) (a6989586621679605385 :: Natural) 
Instance details

Defined in Data.Singletons.Base.Enum

type Apply (ToEnumSym0 :: TyFun Natural k2 -> Type) (a6989586621679605385 :: Natural) = ToEnum a6989586621679605385 :: k2
type Apply (FromIntegerSym0 :: TyFun Natural k2 -> Type) (a6989586621679582951 :: Natural) 
Instance details

Defined in GHC.Num.Singletons

type Apply (FromIntegerSym0 :: TyFun Natural k2 -> Type) (a6989586621679582951 :: Natural) = FromInteger a6989586621679582951 :: k2
type Apply (FromEnumSym0 :: TyFun a Natural -> Type) (a6989586621679605388 :: a) 
Instance details

Defined in Data.Singletons.Base.Enum

type Apply (FromEnumSym0 :: TyFun a Natural -> Type) (a6989586621679605388 :: a) = FromEnum a6989586621679605388
type Apply ((!!@#@$$) a6989586621681170133 :: TyFun Natural a -> Type) (a6989586621681170134 :: Natural) 
Instance details

Defined in Data.List.NonEmpty.Singletons

type Apply ((!!@#@$$) a6989586621681170133 :: TyFun Natural a -> Type) (a6989586621681170134 :: Natural) = a6989586621681170133 !! a6989586621681170134
type Apply ((!!@#@$$) a6989586621679848027 :: TyFun Natural a -> Type) (a6989586621679848028 :: Natural) 
Instance details

Defined in Data.List.Singletons.Internal

type Apply ((!!@#@$$) a6989586621679848027 :: TyFun Natural a -> Type) (a6989586621679848028 :: Natural) = a6989586621679848027 !! a6989586621679848028
type Apply DivSym0 (a6989586621679558584 :: Natural) 
Instance details

Defined in GHC.TypeLits.Singletons

type Apply DivSym0 (a6989586621679558584 :: Natural) = DivSym1 a6989586621679558584
type Apply ModSym0 (a6989586621679559017 :: Natural) 
Instance details

Defined in GHC.TypeLits.Singletons

type Apply ModSym0 (a6989586621679559017 :: Natural) = ModSym1 a6989586621679559017
type Apply QuotSym0 (a6989586621679559594 :: Natural) 
Instance details

Defined in GHC.TypeLits.Singletons

type Apply QuotSym0 (a6989586621679559594 :: Natural) = QuotSym1 a6989586621679559594
type Apply RemSym0 (a6989586621679559583 :: Natural) 
Instance details

Defined in GHC.TypeLits.Singletons

type Apply RemSym0 (a6989586621679559583 :: Natural) = RemSym1 a6989586621679559583
type Apply (^@#@$) (a6989586621679546930 :: Natural) 
Instance details

Defined in GHC.TypeLits.Singletons.Internal

type Apply (^@#@$) (a6989586621679546930 :: Natural) = (^@#@$$) a6989586621679546930
type Apply DivModSym0 (a6989586621679559612 :: Natural) 
Instance details

Defined in GHC.TypeLits.Singletons

type Apply DivModSym0 (a6989586621679559612 :: Natural) = DivModSym1 a6989586621679559612
type Apply QuotRemSym0 (a6989586621679559605 :: Natural) 
Instance details

Defined in GHC.TypeLits.Singletons

type Apply QuotRemSym0 (a6989586621679559605 :: Natural) = QuotRemSym1 a6989586621679559605
type Apply (SplitAtSym0 :: TyFun Natural (NonEmpty a ~> ([a], [a])) -> Type) (a6989586621681170325 :: Natural) 
Instance details

Defined in Data.List.NonEmpty.Singletons

type Apply (SplitAtSym0 :: TyFun Natural (NonEmpty a ~> ([a], [a])) -> Type) (a6989586621681170325 :: Natural) = SplitAtSym1 a6989586621681170325 :: TyFun (NonEmpty a) ([a], [a]) -> Type
type Apply (DropSym0 :: TyFun Natural (NonEmpty a ~> [a]) -> Type) (a6989586621681170334 :: Natural) 
Instance details

Defined in Data.List.NonEmpty.Singletons

type Apply (DropSym0 :: TyFun Natural (NonEmpty a ~> [a]) -> Type) (a6989586621681170334 :: Natural) = DropSym1 a6989586621681170334 :: TyFun (NonEmpty a) [a] -> Type
type Apply (TakeSym0 :: TyFun Natural (NonEmpty a ~> [a]) -> Type) (a6989586621681170343 :: Natural) 
Instance details

Defined in Data.List.NonEmpty.Singletons

type Apply (TakeSym0 :: TyFun Natural (NonEmpty a ~> [a]) -> Type) (a6989586621681170343 :: Natural) = TakeSym1 a6989586621681170343 :: TyFun (NonEmpty a) [a] -> Type
type Apply (SplitAtSym0 :: TyFun Natural ([a] ~> ([a], [a])) -> Type) (a6989586621679848182 :: Natural) 
Instance details

Defined in Data.List.Singletons.Internal

type Apply (SplitAtSym0 :: TyFun Natural ([a] ~> ([a], [a])) -> Type) (a6989586621679848182 :: Natural) = SplitAtSym1 a6989586621679848182 :: TyFun [a] ([a], [a]) -> Type
type Apply (DropSym0 :: TyFun Natural ([a] ~> [a]) -> Type) (a6989586621679848189 :: Natural) 
Instance details

Defined in Data.List.Singletons.Internal

type Apply (DropSym0 :: TyFun Natural ([a] ~> [a]) -> Type) (a6989586621679848189 :: Natural) = DropSym1 a6989586621679848189 :: TyFun [a] [a] -> Type
type Apply (TakeSym0 :: TyFun Natural ([a] ~> [a]) -> Type) (a6989586621679848202 :: Natural) 
Instance details

Defined in Data.List.Singletons.Internal

type Apply (TakeSym0 :: TyFun Natural ([a] ~> [a]) -> Type) (a6989586621679848202 :: Natural) = TakeSym1 a6989586621679848202 :: TyFun [a] [a] -> Type
type Apply (ShowsPrecSym0 :: TyFun Natural (a ~> (Symbol ~> Symbol)) -> Type) (a6989586621680243312 :: Natural) 
Instance details

Defined in Text.Show.Singletons

type Apply (ShowsPrecSym0 :: TyFun Natural (a ~> (Symbol ~> Symbol)) -> Type) (a6989586621680243312 :: Natural) = ShowsPrecSym1 a6989586621680243312 :: TyFun a (Symbol ~> Symbol) -> Type
type Apply (ReplicateSym0 :: TyFun Natural (a ~> [a]) -> Type) (a6989586621679848047 :: Natural) 
Instance details

Defined in Data.List.Singletons.Internal

type Apply (ReplicateSym0 :: TyFun Natural (a ~> [a]) -> Type) (a6989586621679848047 :: Natural) = ReplicateSym1 a6989586621679848047 :: TyFun a [a] -> Type
type Apply (DivModSym1 a6989586621679559612 :: TyFun Natural (Natural, Natural) -> Type) (a6989586621679559613 :: Natural) 
Instance details

Defined in GHC.TypeLits.Singletons

type Apply (DivModSym1 a6989586621679559612 :: TyFun Natural (Natural, Natural) -> Type) (a6989586621679559613 :: Natural) = DivMod a6989586621679559612 a6989586621679559613
type Apply (QuotRemSym1 a6989586621679559605 :: TyFun Natural (Natural, Natural) -> Type) (a6989586621679559606 :: Natural) 
Instance details

Defined in GHC.TypeLits.Singletons

type Apply (QuotRemSym1 a6989586621679559605 :: TyFun Natural (Natural, Natural) -> Type) (a6989586621679559606 :: Natural) = QuotRem a6989586621679559605 a6989586621679559606
type Apply (ElemIndexSym0 :: TyFun a ([a] ~> Maybe Natural) -> Type) (a6989586621679848403 :: a) 
Instance details

Defined in Data.List.Singletons.Internal

type Apply (ElemIndexSym0 :: TyFun a ([a] ~> Maybe Natural) -> Type) (a6989586621679848403 :: a) = ElemIndexSym1 a6989586621679848403
type Apply (ElemIndicesSym0 :: TyFun a ([a] ~> [Natural]) -> Type) (a6989586621679848394 :: a) 
Instance details

Defined in Data.List.Singletons.Internal

type Apply (ElemIndicesSym0 :: TyFun a ([a] ~> [Natural]) -> Type) (a6989586621679848394 :: a) = ElemIndicesSym1 a6989586621679848394
type Apply (ReplicateM_Sym0 :: TyFun Natural (m a ~> m ()) -> Type) (a6989586621681332945 :: Natural) 
Instance details

Defined in Control.Monad.Singletons

type Apply (ReplicateM_Sym0 :: TyFun Natural (m a ~> m ()) -> Type) (a6989586621681332945 :: Natural) = ReplicateM_Sym1 a6989586621681332945 :: TyFun (m a) (m ()) -> Type
type Apply (ReplicateMSym0 :: TyFun Natural (m a ~> m [a]) -> Type) (a6989586621681332963 :: Natural) 
Instance details

Defined in Control.Monad.Singletons

type Apply (ReplicateMSym0 :: TyFun Natural (m a ~> m [a]) -> Type) (a6989586621681332963 :: Natural) = ReplicateMSym1 a6989586621681332963 :: TyFun (m a) (m [a]) -> Type
type Apply (LengthSym0 :: TyFun (NonEmpty a) Natural -> Type) (a6989586621681170558 :: NonEmpty a) 
Instance details

Defined in Data.List.NonEmpty.Singletons

type Apply (LengthSym0 :: TyFun (NonEmpty a) Natural -> Type) (a6989586621681170558 :: NonEmpty a) = Length a6989586621681170558
type Apply (LengthSym0 :: TyFun (t a) Natural -> Type) (a6989586621680427282 :: t a) 
Instance details

Defined in Data.Foldable.Singletons

type Apply (LengthSym0 :: TyFun (t a) Natural -> Type) (a6989586621680427282 :: t a) = Length a6989586621680427282
type Apply (ElemIndexSym1 a6989586621679848403 :: TyFun [a] (Maybe Natural) -> Type) (a6989586621679848404 :: [a]) 
Instance details

Defined in Data.List.Singletons.Internal

type Apply (ElemIndexSym1 a6989586621679848403 :: TyFun [a] (Maybe Natural) -> Type) (a6989586621679848404 :: [a]) = ElemIndex a6989586621679848403 a6989586621679848404
type Apply (FindIndexSym1 a6989586621679848385 :: TyFun [a] (Maybe Natural) -> Type) (a6989586621679848386 :: [a]) 
Instance details

Defined in Data.List.Singletons.Internal

type Apply (FindIndexSym1 a6989586621679848385 :: TyFun [a] (Maybe Natural) -> Type) (a6989586621679848386 :: [a]) = FindIndex a6989586621679848385 a6989586621679848386
type Apply (ElemIndicesSym1 a6989586621679848394 :: TyFun [a] [Natural] -> Type) (a6989586621679848395 :: [a]) 
Instance details

Defined in Data.List.Singletons.Internal

type Apply (ElemIndicesSym1 a6989586621679848394 :: TyFun [a] [Natural] -> Type) (a6989586621679848395 :: [a]) = ElemIndices a6989586621679848394 a6989586621679848395
type Apply (FindIndicesSym1 a6989586621679848362 :: TyFun [a] [Natural] -> Type) (a6989586621679848363 :: [a]) 
Instance details

Defined in Data.List.Singletons.Internal

type Apply (FindIndicesSym1 a6989586621679848362 :: TyFun [a] [Natural] -> Type) (a6989586621679848363 :: [a]) = FindIndices a6989586621679848362 a6989586621679848363
type Apply ((!!@#@$) :: TyFun (NonEmpty a) (Natural ~> a) -> Type) (a6989586621681170133 :: NonEmpty a) 
Instance details

Defined in Data.List.NonEmpty.Singletons

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

Defined in Data.List.Singletons.Internal

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

Defined in Data.List.Singletons.Internal

type Apply (FindIndexSym0 :: TyFun (a ~> Bool) ([a] ~> Maybe Natural) -> Type) (a6989586621679848385 :: a ~> Bool) = FindIndexSym1 a6989586621679848385
type Apply (FindIndicesSym0 :: TyFun (a ~> Bool) ([a] ~> [Natural]) -> Type) (a6989586621679848362 :: a ~> Bool) 
Instance details

Defined in Data.List.Singletons.Internal

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

data Symbol #

(Kind) This is the kind of type-level symbols. Declared here because class IP needs it

Instances

Instances details
IsString Symbol Source # 
Instance details

Defined in GHC.TypeLits.Singletons

Methods

fromString :: String -> Symbol #

Monoid Symbol Source # 
Instance details

Defined in GHC.TypeLits.Singletons

Semigroup Symbol Source # 
Instance details

Defined in GHC.TypeLits.Singletons

SingKind Symbol

Since: base-4.9.0.0

Instance details

Defined in GHC.Generics

Associated Types

type DemoteRep Symbol

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 
Instance details

Defined in Data.Singletons.Base.TypeError

Associated Types

type Demote PErrorMessage = (r :: Type)

Methods

fromSing :: forall (a :: PErrorMessage). Sing a -> Demote PErrorMessage

toSing :: Demote PErrorMessage -> SomeSing PErrorMessage

SingKind Symbol 
Instance details

Defined in GHC.TypeLits.Singletons.Internal

Associated Types

type Demote Symbol = (r :: Type)

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 arg == arg :: Bool Source #

type arg /= arg :: Bool Source #

SEq Symbol Source # 
Instance details

Defined in GHC.TypeLits.Singletons.Internal

Methods

(%==) :: forall (t :: Symbol) (t :: Symbol). Sing t -> Sing t -> Sing (Apply (Apply (==@#@$) t) t) Source #

(%/=) :: forall (t :: Symbol) (t :: Symbol). Sing t -> Sing t -> Sing (Apply (Apply (/=@#@$) t) t) Source #

PMonoid Symbol Source # 
Instance details

Defined in Data.Monoid.Singletons

Associated Types

type Mempty :: a Source #

type Mappend arg arg :: a Source #

type Mconcat arg :: a Source #

SMonoid Symbol Source # 
Instance details

Defined in Data.Monoid.Singletons

Methods

sMempty :: Sing MemptySym0 Source #

sMappend :: forall (t :: Symbol) (t :: Symbol). Sing t -> Sing t -> Sing (Apply (Apply MappendSym0 t) t) Source #

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

POrd Symbol Source # 
Instance details

Defined in GHC.TypeLits.Singletons.Internal

Associated Types

type Compare arg arg :: Ordering Source #

type arg < arg :: Bool Source #

type arg <= arg :: Bool Source #

type arg > arg :: Bool Source #

type arg >= arg :: Bool Source #

type Max arg arg :: a Source #

type Min arg arg :: a Source #

SOrd Symbol Source # 
Instance details

Defined in GHC.TypeLits.Singletons.Internal

Methods

sCompare :: forall (t :: Symbol) (t :: Symbol). Sing t -> Sing t -> Sing (Apply (Apply CompareSym0 t) t) Source #

(%<) :: forall (t :: Symbol) (t :: Symbol). Sing t -> Sing t -> Sing (Apply (Apply (<@#@$) t) t) Source #

(%<=) :: forall (t :: Symbol) (t :: Symbol). Sing t -> Sing t -> Sing (Apply (Apply (<=@#@$) t) t) Source #

(%>) :: forall (t :: Symbol) (t :: Symbol). Sing t -> Sing t -> Sing (Apply (Apply (>@#@$) t) t) Source #

(%>=) :: forall (t :: Symbol) (t :: Symbol). Sing t -> Sing t -> Sing (Apply (Apply (>=@#@$) t) t) Source #

sMax :: forall (t :: Symbol) (t :: Symbol). Sing t -> Sing t -> Sing (Apply (Apply MaxSym0 t) t) Source #

sMin :: forall (t :: Symbol) (t :: Symbol). Sing t -> Sing t -> Sing (Apply (Apply MinSym0 t) t) Source #

PSemigroup Symbol Source # 
Instance details

Defined in Data.Semigroup.Singletons.Internal

Associated Types

type arg <> arg :: a Source #

type Sconcat arg :: a Source #

SSemigroup Symbol Source # 
Instance details

Defined in Data.Semigroup.Singletons.Internal

Methods

(%<>) :: forall (t :: Symbol) (t :: Symbol). Sing t -> Sing t -> Sing (Apply (Apply (<>@#@$) t) t) Source #

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

PIsString Symbol Source # 
Instance details

Defined in Data.String.Singletons

Associated Types

type FromString arg :: a Source #

SIsString Symbol Source # 
Instance details

Defined in Data.String.Singletons

Methods

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

PShow Symbol Source # 
Instance details

Defined in Text.Show.Singletons

Associated Types

type ShowsPrec arg arg arg :: Symbol Source #

type Show_ arg :: Symbol Source #

type ShowList arg arg :: Symbol Source #

SShow Symbol Source # 
Instance details

Defined in Text.Show.Singletons

Methods

sShowsPrec :: forall (t :: Natural) (t :: Symbol) (t :: Symbol). Sing t -> Sing t -> Sing t -> Sing (Apply (Apply (Apply ShowsPrecSym0 t) t) t) Source #

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

sShowList :: forall (t :: [Symbol]) (t :: Symbol). Sing t -> Sing t -> Sing (Apply (Apply ShowListSym0 t) t) Source #

KnownSymbol a => SingI (a :: Symbol)

Since: base-4.9.0.0

Instance details

Defined in GHC.Generics

Methods

sing :: Sing a

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

Defined in GHC.TypeLits.Singletons.Internal

Methods

sing :: Sing n

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

Defined in Data.Singletons.Base.TypeError

Methods

liftSing2 :: forall (x :: k1) (y :: k2). Sing x -> Sing y -> Sing (x :$$: y)

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

Defined in Data.Singletons.Base.TypeError

Methods

liftSing2 :: forall (x :: k1) (y :: k2). Sing x -> Sing y -> Sing (x :<>: y)

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

Defined in Data.Singletons.Base.TypeError

Methods

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

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

Defined in Data.Singletons.Base.TypeError

Methods

liftSing :: forall (x :: k1). Sing x -> Sing (e1 :$$: x)

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

Defined in Data.Singletons.Base.TypeError

Methods

liftSing :: forall (x :: k1). Sing x -> Sing (e1 :<>: x)

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

Defined in Data.Singletons.Base.TypeError

Methods

liftSing :: forall (x :: k1). Sing x -> Sing ('ShowType x)

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

Defined in Text.Show.Singletons

Methods

liftSing2 :: forall (x :: k1) (y :: k2). Sing x -> Sing y -> Sing (ShowsPrecSym2 x y)

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

Defined in Data.Singletons.Base.TypeError

Methods

sing :: Sing ('Text t)

SingI1 ShowParenSym1 
Instance details

Defined in Text.Show.Singletons

Methods

liftSing :: forall (x :: k1). Sing x -> Sing (ShowParenSym1 x)

SingI1 ShowCharSym1 
Instance details

Defined in Text.Show.Singletons

Methods

liftSing :: forall (x :: k1). Sing x -> Sing (ShowCharSym1 x)

SingI1 ConsSymbolSym1 
Instance details

Defined in GHC.TypeLits.Singletons

Methods

liftSing :: forall (x :: k1). Sing x -> Sing (ConsSymbolSym1 x)

SingI1 ShowStringSym1 
Instance details

Defined in Text.Show.Singletons

Methods

liftSing :: forall (x :: k1). Sing x -> Sing (ShowStringSym1 x)

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

Defined in Data.Singletons.Base.TypeError

Methods

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

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

Defined in Data.Singletons.Base.TypeError

Methods

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

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

Defined in Text.Show.Singletons

Methods

liftSing :: forall (x :: k1). Sing x -> Sing (ShowsPrecSym1 x)

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

Defined in Text.Show.Singletons

Methods

liftSing :: forall (x :: k1). Sing x -> Sing (ShowsSym1 x)

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

Defined in Text.Show.Singletons

Methods

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

SingI2 ShowParenSym2 
Instance details

Defined in Text.Show.Singletons

Methods

liftSing2 :: forall (x :: k1) (y :: k2). Sing x -> Sing y -> Sing (ShowParenSym2 x y)

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

Defined in Data.Singletons.Base.TypeError

Methods

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

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

Defined in Data.Singletons.Base.TypeError

Methods

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

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

Defined in Data.Singletons.Base.TypeError

Methods

sing :: Sing ('ShowType ty)

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

Defined in Text.Show.Singletons

Methods

liftSing :: forall (x :: k1). Sing x -> Sing (ShowListSym1 x)

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

Defined in Text.Show.Singletons

Methods

liftSing :: forall (x :: k1). Sing x -> Sing (ShowListWithSym2 d x)

SingI ShowParenSym0 
Instance details

Defined in Text.Show.Singletons

SingI ShowCharSym0 
Instance details

Defined in Text.Show.Singletons

SingI ShowStringSym0 
Instance details

Defined in Text.Show.Singletons

SingI ShowCommaSpaceSym0 
Instance details

Defined in Text.Show.Singletons

SingI ShowSpaceSym0 
Instance details

Defined in Text.Show.Singletons

SingI UnlinesSym0 
Instance details

Defined in Data.List.Singletons.Internal

SingI UnwordsSym0 
Instance details

Defined in Data.List.Singletons.Internal

SingI ConsSymbolSym0 
Instance details

Defined in GHC.TypeLits.Singletons

SingI UnconsSymbolSym0 
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 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

SuppressUnusedWarnings UnlinesSym0 Source # 
Instance details

Defined in Data.List.Singletons.Internal

SuppressUnusedWarnings UnwordsSym0 Source # 
Instance details

Defined in Data.List.Singletons.Internal

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

Defined in Text.Show.Singletons

Methods

sing :: Sing (ShowParenSym1 d)

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

Defined in Text.Show.Singletons

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

Defined in Data.Singletons.Base.TypeError

Methods

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

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

Defined in Data.Singletons.Base.TypeError

Methods

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

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

Defined in Text.Show.Singletons

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

Defined in Data.Singletons.Base.TypeError

Methods

sing :: Sing TextSym0

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

Defined in Text.Show.Singletons

Methods

sing :: Sing (ShowCharSym1 d)

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

Defined in Text.Show.Singletons

Methods

sing :: Sing (ShowStringSym1 d)

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

Defined in Data.String.Singletons

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

Defined in Text.Show.Singletons

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

Defined in Text.Show.Singletons

Methods

sing :: Sing ShowsSym0

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

Defined in Text.Show.Singletons

Methods

sing :: Sing Show_Sym0

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

Defined in Data.Singletons.Base.TypeError

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

Defined in GHC.TypeLits.Singletons

Methods

sing :: Sing (ConsSymbolSym1 x)

SuppressUnusedWarnings (ShowParenSym1 a6989586621680243251 :: 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 (ConsSymbolSym1 a6989586621679560776 :: TyFun Symbol Symbol -> Type) Source # 
Instance details

Defined in GHC.TypeLits.Singletons

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

Defined in Text.Show.Singletons

SuppressUnusedWarnings (ShowStringSym1 a6989586621680243267 :: 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 (ShowListSym0 :: TyFun [a] (Symbol ~> Symbol) -> Type) Source # 
Instance details

Defined in Text.Show.Singletons

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) 
Instance details

Defined in Text.Show.Singletons

Methods

liftSing2 :: forall (x :: k1) (y :: k2). Sing x -> Sing y -> Sing (ShowListWithSym2 x y)

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

Defined in Data.Singletons.Base.TypeError

Methods

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

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

Defined in Data.Singletons.Base.TypeError

Methods

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

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

Defined in Text.Show.Singletons

Methods

sing :: Sing (ShowListSym1 d)

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

Defined in Text.Show.Singletons

Methods

sing :: Sing (ShowParenSym2 d1 d2)

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

Defined in Text.Show.Singletons

Methods

sing :: Sing (ShowsSym1 d)

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

Defined in GHC.TypeLits.Singletons.Internal

Methods

sing :: Sing ErrorSym0

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

Defined in GHC.TypeLits.Singletons.Internal

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

Defined in Text.Show.Singletons

Methods

sing :: Sing (ShowListWithSym1 d)

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

Defined in Text.Show.Singletons

Methods

sing :: Sing (ShowsPrecSym1 d)

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

Defined in Data.Singletons.Base.TypeError

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

Defined in Text.Show.Singletons

SuppressUnusedWarnings (ShowParenSym2 a6989586621680243251 a6989586621680243252 :: TyFun Symbol Symbol -> Type) Source # 
Instance details

Defined in Text.Show.Singletons

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

Defined in Text.Show.Singletons

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

Defined in Text.Show.Singletons

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

Defined in Text.Show.Singletons

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

Defined in Text.Show.Singletons

Methods

liftSing :: forall (x :: k1). Sing x -> Sing (ShowParenSym2 d x)

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

Defined in Text.Show.Singletons

Methods

liftSing :: forall (x :: k1). Sing x -> Sing (ShowListWithSym1 x)

(SingI d1, SingI d2) => SingI (ShowListWithSym2 d1 d2 :: TyFun Symbol Symbol -> Type) 
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) 
Instance details

Defined in Text.Show.Singletons

Methods

sing :: Sing (ShowsPrecSym2 d1 d2)

SuppressUnusedWarnings (ShowListWithSym2 a6989586621680243286 a6989586621680243287 :: TyFun Symbol Symbol -> Type) Source # 
Instance details

Defined in Text.Show.Singletons

SuppressUnusedWarnings (ShowsPrecSym2 a6989586621680243312 a6989586621680243313 :: TyFun Symbol Symbol -> Type) Source # 
Instance details

Defined in Text.Show.Singletons

type DemoteRep Symbol 
Instance details

Defined in GHC.Generics

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

Defined in GHC.Generics

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

Defined in Data.Singletons.Base.TypeError

type Demote Symbol 
Instance details

Defined in GHC.TypeLits.Singletons.Internal

type Demote Symbol = Text
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 Data.Semigroup.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 Data.Type.Ord

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

Defined in GHC.TypeLits.Singletons.Internal

type (arg1 :: Symbol) /= (arg2 :: 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 (arg1 :: Symbol) < (arg2 :: Symbol) Source # 
Instance details

Defined in GHC.TypeLits.Singletons.Internal

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

Defined in GHC.TypeLits.Singletons.Internal

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

Defined in GHC.TypeLits.Singletons.Internal

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

Defined in GHC.TypeLits.Singletons.Internal

type (arg1 :: Symbol) >= (arg2 :: 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 (arg1 :: Symbol) (arg2 :: Symbol) Source # 
Instance details

Defined in GHC.TypeLits.Singletons.Internal

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

Defined in GHC.TypeLits.Singletons.Internal

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

Defined in Data.Semigroup.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 (a6989586621679557765 :: Symbol) 
Instance details

Defined in GHC.TypeLits.Singletons

type Apply KnownSymbolSym0 (a6989586621679557765 :: Symbol) = KnownSymbol a6989586621679557765
type Apply ShowCommaSpaceSym0 (a6989586621680243233 :: Symbol) 
Instance details

Defined in Text.Show.Singletons

type Apply ShowCommaSpaceSym0 (a6989586621680243233 :: Symbol) = ShowCommaSpace a6989586621680243233
type Apply ShowSpaceSym0 (a6989586621680243239 :: Symbol) 
Instance details

Defined in Text.Show.Singletons

type Apply ShowSpaceSym0 (a6989586621680243239 :: Symbol) = ShowSpace a6989586621680243239
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 k2 -> Type) (a6989586621679680824 :: PErrorMessage) 
Instance details

Defined in Data.Singletons.Base.TypeError

type Apply (TypeErrorSym0 :: TyFun PErrorMessage k2 -> Type) (a6989586621679680824 :: PErrorMessage) = TypeError a6989586621679680824 :: k2
type Apply (ConsSymbolSym1 a6989586621679560776 :: TyFun Symbol Symbol -> Type) (a6989586621679560777 :: Symbol) 
Instance details

Defined in GHC.TypeLits.Singletons

type Apply (ConsSymbolSym1 a6989586621679560776 :: TyFun Symbol Symbol -> Type) (a6989586621679560777 :: Symbol) = ConsSymbol a6989586621679560776 a6989586621679560777
type Apply (ShowCharSym1 a6989586621680243278 :: TyFun Symbol Symbol -> Type) (a6989586621680243279 :: Symbol) 
Instance details

Defined in Text.Show.Singletons

type Apply (ShowCharSym1 a6989586621680243278 :: TyFun Symbol Symbol -> Type) (a6989586621680243279 :: Symbol) = ShowChar a6989586621680243278 a6989586621680243279
type Apply (ShowStringSym1 a6989586621680243267 :: TyFun Symbol Symbol -> Type) (a6989586621680243268 :: Symbol) 
Instance details

Defined in Text.Show.Singletons

type Apply (ShowStringSym1 a6989586621680243267 :: TyFun Symbol Symbol -> Type) (a6989586621680243268 :: Symbol) = ShowString a6989586621680243267 a6989586621680243268
type Apply (FromStringSym0 :: TyFun Symbol k2 -> Type) (a6989586621681291725 :: Symbol) 
Instance details

Defined in Data.String.Singletons

type Apply (FromStringSym0 :: TyFun Symbol k2 -> Type) (a6989586621681291725 :: Symbol) = FromString a6989586621681291725 :: k2
type Apply (Show_Sym0 :: TyFun a Symbol -> Type) (a6989586621680243317 :: a) 
Instance details

Defined in Text.Show.Singletons

type Apply (Show_Sym0 :: TyFun a Symbol -> Type) (a6989586621680243317 :: a) = Show_ a6989586621680243317
type Apply (ShowListSym1 a6989586621680243321 :: TyFun Symbol Symbol -> Type) (a6989586621680243322 :: Symbol) 
Instance details

Defined in Text.Show.Singletons

type Apply (ShowListSym1 a6989586621680243321 :: TyFun Symbol Symbol -> Type) (a6989586621680243322 :: Symbol) = ShowList a6989586621680243321 a6989586621680243322
type Apply (ShowParenSym2 a6989586621680243251 a6989586621680243252 :: TyFun Symbol Symbol -> Type) (a6989586621680243253 :: Symbol) 
Instance details

Defined in Text.Show.Singletons

type Apply (ShowParenSym2 a6989586621680243251 a6989586621680243252 :: TyFun Symbol Symbol -> Type) (a6989586621680243253 :: Symbol) = ShowParen a6989586621680243251 a6989586621680243252 a6989586621680243253
type Apply (ShowsSym1 a6989586621680243304 :: TyFun Symbol Symbol -> Type) (a6989586621680243305 :: Symbol) 
Instance details

Defined in Text.Show.Singletons

type Apply (ShowsSym1 a6989586621680243304 :: TyFun Symbol Symbol -> Type) (a6989586621680243305 :: Symbol) = Shows a6989586621680243304 a6989586621680243305
type Apply (ShowListWithSym2 a6989586621680243286 a6989586621680243287 :: TyFun Symbol Symbol -> Type) (a6989586621680243288 :: Symbol) 
Instance details

Defined in Text.Show.Singletons

type Apply (ShowListWithSym2 a6989586621680243286 a6989586621680243287 :: TyFun Symbol Symbol -> Type) (a6989586621680243288 :: Symbol) = ShowListWith a6989586621680243286 a6989586621680243287 a6989586621680243288
type Apply (ShowsPrecSym2 a6989586621680243312 a6989586621680243313 :: TyFun Symbol Symbol -> Type) (a6989586621680243314 :: Symbol) 
Instance details

Defined in Text.Show.Singletons

type Apply (ShowsPrecSym2 a6989586621680243312 a6989586621680243313 :: TyFun Symbol Symbol -> Type) (a6989586621680243314 :: Symbol) = ShowsPrec a6989586621680243312 a6989586621680243313 a6989586621680243314
type Apply UnconsSymbolSym0 (a6989586621679561235 :: Symbol) 
Instance details

Defined in GHC.TypeLits.Singletons

type Apply UnconsSymbolSym0 (a6989586621679561235 :: Symbol) = UnconsSymbol a6989586621679561235
type Apply ShowParenSym0 (a6989586621680243251 :: Bool) 
Instance details

Defined in Text.Show.Singletons

type Apply ShowParenSym0 (a6989586621680243251 :: Bool) = ShowParenSym1 a6989586621680243251
type Apply ConsSymbolSym0 (a6989586621679560776 :: Char) 
Instance details

Defined in GHC.TypeLits.Singletons

type Apply ConsSymbolSym0 (a6989586621679560776 :: Char) = ConsSymbolSym1 a6989586621679560776
type Apply ShowCharSym0 (a6989586621680243278 :: Char) 
Instance details

Defined in Text.Show.Singletons

type Apply ShowCharSym0 (a6989586621680243278 :: Char) = ShowCharSym1 a6989586621680243278
type Apply ShowStringSym0 (a6989586621680243267 :: Symbol) 
Instance details

Defined in Text.Show.Singletons

type Apply ShowStringSym0 (a6989586621680243267 :: Symbol) = ShowStringSym1 a6989586621680243267
type Apply (ShowsPrecSym0 :: TyFun Natural (a ~> (Symbol ~> Symbol)) -> Type) (a6989586621680243312 :: Natural) 
Instance details

Defined in Text.Show.Singletons

type Apply (ShowsPrecSym0 :: TyFun Natural (a ~> (Symbol ~> Symbol)) -> Type) (a6989586621680243312 :: Natural) = ShowsPrecSym1 a6989586621680243312 :: TyFun a (Symbol ~> Symbol) -> Type
type Apply (ShowsSym0 :: TyFun a (Symbol ~> Symbol) -> Type) (a6989586621680243304 :: a) 
Instance details

Defined in Text.Show.Singletons

type Apply (ShowsSym0 :: TyFun a (Symbol ~> Symbol) -> Type) (a6989586621680243304 :: a) = ShowsSym1 a6989586621680243304
type Apply (ShowsPrecSym1 a6989586621680243312 :: TyFun a (Symbol ~> Symbol) -> Type) (a6989586621680243313 :: a) 
Instance details

Defined in Text.Show.Singletons

type Apply (ShowsPrecSym1 a6989586621680243312 :: TyFun a (Symbol ~> Symbol) -> Type) (a6989586621680243313 :: a) = ShowsPrecSym2 a6989586621680243312 a6989586621680243313
type Apply UnlinesSym0 (a6989586621679848564 :: [Symbol]) 
Instance details

Defined in Data.List.Singletons.Internal

type Apply UnlinesSym0 (a6989586621679848564 :: [Symbol]) = Unlines a6989586621679848564
type Apply UnwordsSym0 (a6989586621679848554 :: [Symbol]) 
Instance details

Defined in Data.List.Singletons.Internal

type Apply UnwordsSym0 (a6989586621679848554 :: [Symbol]) = Unwords a6989586621679848554
type Apply (ShowListSym0 :: TyFun [a] (Symbol ~> Symbol) -> Type) (a6989586621680243321 :: [a]) 
Instance details

Defined in Text.Show.Singletons

type Apply (ShowListSym0 :: TyFun [a] (Symbol ~> Symbol) -> Type) (a6989586621680243321 :: [a]) = ShowListSym1 a6989586621680243321
type Apply (ShowListWithSym1 a6989586621680243286 :: TyFun [a] (Symbol ~> Symbol) -> Type) (a6989586621680243287 :: [a]) 
Instance details

Defined in Text.Show.Singletons

type Apply (ShowListWithSym1 a6989586621680243286 :: TyFun [a] (Symbol ~> Symbol) -> Type) (a6989586621680243287 :: [a]) = ShowListWithSym2 a6989586621680243286 a6989586621680243287
type Apply (ShowParenSym1 a6989586621680243251 :: TyFun (Symbol ~> Symbol) (Symbol ~> Symbol) -> Type) (a6989586621680243252 :: Symbol ~> Symbol) 
Instance details

Defined in Text.Show.Singletons

type Apply (ShowParenSym1 a6989586621680243251 :: TyFun (Symbol ~> Symbol) (Symbol ~> Symbol) -> Type) (a6989586621680243252 :: Symbol ~> Symbol) = ShowParenSym2 a6989586621680243251 a6989586621680243252
type Apply (ShowListWithSym0 :: TyFun (a ~> (Symbol ~> Symbol)) ([a] ~> (Symbol ~> Symbol)) -> Type) (a6989586621680243286 :: a ~> (Symbol ~> Symbol)) 
Instance details

Defined in Text.Show.Singletons

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

data Char #

The character type Char is an enumeration whose values represent Unicode (or equivalently ISO/IEC 10646) code points (i.e. characters, see http://www.unicode.org/ for details). This set extends the ISO 8859-1 (Latin-1) character set (the first 256 characters), which is itself an extension of the ASCII character set (the first 128 characters). A character literal in Haskell has type Char.

To convert a Char to or from the corresponding Int value defined by Unicode, use toEnum and fromEnum from the Enum class respectively (or equivalently ord and chr).

Instances

Instances details
Storable Char

Since: base-2.1

Instance details

Defined in Foreign.Storable

Methods

sizeOf :: Char -> Int #

alignment :: Char -> Int #

peekElemOff :: Ptr Char -> Int -> IO Char #

pokeElemOff :: Ptr Char -> Int -> Char -> IO () #

peekByteOff :: Ptr b -> Int -> IO Char #

pokeByteOff :: Ptr b -> Int -> Char -> IO () #

peek :: Ptr Char -> IO Char #

poke :: Ptr Char -> Char -> IO () #

Bounded Char

Since: base-2.1

Instance details

Defined in GHC.Enum

Enum Char

Since: base-2.1

Instance details

Defined in GHC.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.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 #

Read Char

Since: base-2.1

Instance details

Defined in GHC.Read

Show Char

Since: base-2.1

Instance details

Defined in GHC.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 #

Prim Char 
Instance details

Defined in Data.Primitive.Types

SingKind Char 
Instance details

Defined in GHC.TypeLits.Singletons.Internal

Associated Types

type Demote Char = (r :: Type)

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 arg == arg :: Bool Source #

type arg /= arg :: Bool Source #

SEq Char Source # 
Instance details

Defined in GHC.TypeLits.Singletons.Internal

Methods

(%==) :: forall (t :: Char) (t :: Char). Sing t -> Sing t -> Sing (Apply (Apply (==@#@$) t) t) Source #

(%/=) :: forall (t :: Char) (t :: Char). Sing t -> Sing t -> Sing (Apply (Apply (/=@#@$) t) t) Source #

POrd Char Source # 
Instance details

Defined in GHC.TypeLits.Singletons.Internal

Associated Types

type Compare arg arg :: Ordering Source #

type arg < arg :: Bool Source #

type arg <= arg :: Bool Source #

type arg > arg :: Bool Source #

type arg >= arg :: Bool Source #

type Max arg arg :: a Source #

type Min arg arg :: a Source #

SOrd Char Source # 
Instance details

Defined in GHC.TypeLits.Singletons.Internal

Methods

sCompare :: forall (t :: Char) (t :: Char). Sing t -> Sing t -> Sing (Apply (Apply CompareSym0 t) t) Source #

(%<) :: forall (t :: Char) (t :: Char). Sing t -> Sing t -> Sing (Apply (Apply (<@#@$) t) t) Source #

(%<=) :: forall (t :: Char) (t :: Char). Sing t -> Sing t -> Sing (Apply (Apply (<=@#@$) t) t) Source #

(%>) :: forall (t :: Char) (t :: Char). Sing t -> Sing t -> Sing (Apply (Apply (>@#@$) t) t) Source #

(%>=) :: forall (t :: Char) (t :: Char). Sing t -> Sing t -> Sing (Apply (Apply (>=@#@$) t) t) Source #

sMax :: forall (t :: Char) (t :: Char). Sing t -> Sing t -> Sing (Apply (Apply MaxSym0 t) t) Source #

sMin :: forall (t :: Char) (t :: Char). Sing t -> Sing t -> Sing (Apply (Apply MinSym0 t) t) Source #

PBounded Char Source # 
Instance details

Defined in Data.Singletons.Base.Enum

Associated Types

type MinBound :: a Source #

type MaxBound :: a Source #

PEnum Char Source # 
Instance details

Defined in Data.Singletons.Base.Enum

Associated Types

type Succ arg :: a Source #

type Pred arg :: a Source #

type ToEnum arg :: a Source #

type FromEnum arg :: Natural Source #

type EnumFromTo arg arg :: [a] Source #

type EnumFromThenTo arg arg arg :: [a] Source #

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 (Apply SuccSym0 t) Source #

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

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

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

sEnumFromTo :: forall (t :: Char) (t :: Char). Sing t -> Sing t -> Sing (Apply (Apply EnumFromToSym0 t) t) Source #

sEnumFromThenTo :: forall (t :: Char) (t :: Char) (t :: Char). Sing t -> Sing t -> Sing t -> Sing (Apply (Apply (Apply EnumFromThenToSym0 t) t) t) Source #

PShow Char Source # 
Instance details

Defined in Text.Show.Singletons

Associated Types

type ShowsPrec arg arg arg :: Symbol Source #

type Show_ arg :: Symbol Source #

type ShowList arg arg :: Symbol Source #

SShow Char Source # 
Instance details

Defined in Text.Show.Singletons

Methods

sShowsPrec :: forall (t :: Natural) (t :: Char) (t :: Symbol). Sing t -> Sing t -> Sing t -> Sing (Apply (Apply (Apply ShowsPrecSym0 t) t) t) Source #

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

sShowList :: forall (t :: [Char]) (t :: Symbol). Sing t -> Sing t -> Sing (Apply (Apply ShowListSym0 t) t) Source #

ErrorList Char 
Instance details

Defined in Control.Monad.Trans.Error

Methods

listMsg :: String -> [Char] #

Unbox Char 
Instance details

Defined in Data.Vector.Unboxed.Base

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

Defined in GHC.TypeLits.Singletons.Internal

Methods

sing :: Sing c

Lift Char 
Instance details

Defined in Language.Haskell.TH.Syntax

Methods

lift :: Quote m => Char -> m Exp #

liftTyped :: forall (m :: Type -> Type). Quote m => Char -> Code m Char #

Vector Vector Char 
Instance details

Defined in Data.Vector.Unboxed.Base

MVector MVector Char 
Instance details

Defined in Data.Vector.Unboxed.Base

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

Defined in GHC.Generics

Associated Types

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

Methods

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

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

SingI1 ShowCharSym1 
Instance details

Defined in Text.Show.Singletons

Methods

liftSing :: forall (x :: k1). Sing x -> Sing (ShowCharSym1 x)

SingI1 ConsSymbolSym1 
Instance details

Defined in GHC.TypeLits.Singletons

Methods

liftSing :: forall (x :: k1). Sing x -> Sing (ConsSymbolSym1 x)

Foldable (UChar :: TYPE LiftedRep -> Type)

Since: base-4.9.0.0

Instance details

Defined in 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 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 LiftedRep -> Type)

Since: base-4.9.0.0

Instance details

Defined in GHC.Generics

Methods

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

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

SingI ShowCharSym0 
Instance details

Defined in Text.Show.Singletons

SingI NatToCharSym0 
Instance details

Defined in GHC.TypeLits.Singletons

SingI ConsSymbolSym0 
Instance details

Defined in GHC.TypeLits.Singletons

SingI CharToNatSym0 
Instance details

Defined in GHC.TypeLits.Singletons

SingI UnconsSymbolSym0 
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) 
Instance details

Defined in Control.Monad.Fail.Singletons

Methods

sing :: Sing FailSym0

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.Generics

Associated Types

type Rep (URec Char p) :: 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.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.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.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 
Instance details

Defined in GHC.TypeLits.Singletons.Internal

type Demote Char = Char
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

newtype Vector Char 
Instance details

Defined in Data.Vector.Unboxed.Base

data URec Char (p :: k)

Used for marking occurrences of Char#

Since: base-4.9.0.0

Instance details

Defined in GHC.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)
newtype MVector s Char 
Instance details

Defined in Data.Vector.Unboxed.Base

newtype MVector s Char = MV_Char (MVector s Char)
type Compare (a :: Char) (b :: Char) 
Instance details

Defined in Data.Type.Ord

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

Defined in GHC.TypeLits.Singletons.Internal

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

Defined in GHC.TypeLits.Singletons.Internal

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

Defined in GHC.TypeLits.Singletons.Internal

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

Defined in GHC.TypeLits.Singletons.Internal

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

Defined in GHC.TypeLits.Singletons.Internal

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

Defined in GHC.TypeLits.Singletons.Internal

type (arg1 :: Char) >= (arg2 :: 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 (arg1 :: Char) (arg2 :: Char) Source # 
Instance details

Defined in GHC.TypeLits.Singletons.Internal

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

Defined in GHC.TypeLits.Singletons.Internal

type Min (arg1 :: Char) (arg2 :: 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 (a6989586621679561676 :: Natural) 
Instance details

Defined in GHC.TypeLits.Singletons

type Apply NatToCharSym0 (a6989586621679561676 :: Natural) = NatToChar a6989586621679561676
type Apply CharToNatSym0 (a6989586621679561453 :: Char) 
Instance details

Defined in GHC.TypeLits.Singletons

type Apply CharToNatSym0 (a6989586621679561453 :: Char) = CharToNat a6989586621679561453
type Apply KnownCharSym0 (a6989586621679557767 :: Char) 
Instance details

Defined in GHC.TypeLits.Singletons

type Apply KnownCharSym0 (a6989586621679557767 :: Char) = KnownChar a6989586621679557767
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 (a6989586621679561235 :: Symbol) 
Instance details

Defined in GHC.TypeLits.Singletons

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

Since: base-4.9.0.0

Instance details

Defined in GHC.Generics

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

Defined in GHC.TypeLits.Singletons

type Apply ConsSymbolSym0 (a6989586621679560776 :: Char) = ConsSymbolSym1 a6989586621679560776
type Apply ShowCharSym0 (a6989586621680243278 :: Char) 
Instance details

Defined in Text.Show.Singletons

type Apply ShowCharSym0 (a6989586621680243278 :: Char) = ShowCharSym1 a6989586621680243278
type Apply (FailSym0 :: TyFun [Char] (m a) -> Type) (a6989586621679540843 :: [Char]) 
Instance details

Defined in Control.Monad.Fail.Singletons

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

Since: base-4.9.0.0

Instance details

Defined in GHC.Generics

type Rep (URec Char p) = D1 ('MetaData "URec" "GHC.Generics" "base" '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.Semigroup.Singletons.Internal

type Sing = SAll
type Sing Source # 
Instance details

Defined in Data.Semigroup.Singletons.Internal

type Sing = SAny
type Sing Source # 
Instance details

Defined in Data.Singletons.Base.Instances

type Sing = SVoid
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.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

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

Defined in Data.Semigroup.Singletons.Internal

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

Defined in Data.Semigroup.Singletons.Internal

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

Defined in Data.Semigroup.Singletons.Internal

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

Defined in Data.Semigroup.Singletons.Internal

type Sing Source # 
Instance details

Defined in Data.Semigroup.Singletons.Internal

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

Defined in Data.Semigroup.Singletons.Internal

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

Defined in Data.Semigroup.Singletons.Internal

type Sing = SSum :: Sum a -> Type
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 = 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.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 Source # 
Instance details

Defined in Data.Semigroup.Singletons

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

Defined in Data.Singletons

type Sing = SWrappedSing :: WrappedSing a -> Type
type Sing 
Instance details

Defined in Data.Singletons

type Sing = SLambda :: (k1 ~> k2) -> 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 :: Natural) Source #

Constructors

KnownNat n => SNat 

Instances

Instances details
Show (SNat n) Source # 
Instance details

Defined in GHC.TypeLits.Singletons.Internal

Methods

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

show :: SNat n -> String #

showList :: [SNat n] -> ShowS #

data SSymbol (n :: Symbol) Source #

Constructors

KnownSymbol n => SSym 

Instances

Instances details
Show (SSymbol s) Source # 
Instance details

Defined in GHC.TypeLits.Singletons.Internal

Methods

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

show :: SSymbol s -> String #

showList :: [SSymbol s] -> ShowS #

data SChar (c :: Char) Source #

Constructors

KnownChar c => SChar 

Instances

Instances details
Show (SChar c) Source # 
Instance details

Defined in GHC.TypeLits.Singletons.Internal

Methods

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

show :: SChar c -> String #

showList :: [SChar c] -> ShowS #

withKnownNat :: Sing n -> (KnownNat n => r) -> r Source #

Given a singleton for Nat, call something requiring a KnownNat instance.

withKnownSymbol :: Sing n -> (KnownSymbol n => r) -> r Source #

Given a singleton for Symbol, call something requiring a KnownSymbol instance.

withKnownChar :: Sing n -> (KnownChar n => r) -> r Source #

Given a singleton for Char, call something requiring a KnownChar instance.

type family Error (str :: k0) :: k where ... Source #

The promotion of error. This version is more poly-kinded for easier use.

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

The singleton for error

type family ErrorWithoutStackTrace (str :: k0) :: k where ... Source #

The promotion of errorWithoutStackTrace. This version is more poly-kinded for easier use.

type family Undefined :: k where ... Source #

The promotion of undefined.

sUndefined :: HasCallStack => a Source #

The singleton for 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

(%^) :: 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 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 :: 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 :: 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 :: Sing x -> Sing y -> Sing (Mod x y) infixl 7 Source #

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

Equations

DivMod x y = Apply (Apply Tuple2Sym0 (Apply (Apply DivSym0 x) y)) (Apply (Apply ModSym0 x) y) 

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

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

Equations

Quot a_6989586621679559587 a_6989586621679559589 = Apply (Apply DivSym0 a_6989586621679559587) a_6989586621679559589 

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

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

Equations

Rem a_6989586621679559576 a_6989586621679559578 = Apply (Apply ModSym0 a_6989586621679559576) a_6989586621679559578 

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

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

Equations

QuotRem a_6989586621679559598 a_6989586621679559600 = Apply (Apply DivModSym0 a_6989586621679559598) a_6989586621679559600 

sQuotRem :: 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

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

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

Convert a character to its Unicode code point (cf. ord)

Since: base-4.16.0.0

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

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

Since: base-4.16.0.0

Defunctionalization symbols

data ErrorSym0 :: (~>) k0 k Source #

Instances

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

Defined in GHC.TypeLits.Singletons.Internal

Methods

sing :: Sing ErrorSym0

SuppressUnusedWarnings (ErrorSym0 :: TyFun k0 k -> Type) Source # 
Instance details

Defined in GHC.TypeLits.Singletons.Internal

type Apply (ErrorSym0 :: TyFun k0 k2 -> Type) (a6989586621679545715 :: k0) Source # 
Instance details

Defined in GHC.TypeLits.Singletons.Internal

type Apply (ErrorSym0 :: TyFun k0 k2 -> Type) (a6989586621679545715 :: k0) = Error a6989586621679545715 :: k2

type family ErrorSym1 (a6989586621679545715 :: k0) :: k where ... Source #

Equations

ErrorSym1 a6989586621679545715 = Error a6989586621679545715 

data ErrorWithoutStackTraceSym0 :: (~>) k0 k Source #

Instances

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

Defined in GHC.TypeLits.Singletons.Internal

SuppressUnusedWarnings (ErrorWithoutStackTraceSym0 :: TyFun k0 k -> Type) Source # 
Instance details

Defined in GHC.TypeLits.Singletons.Internal

type Apply (ErrorWithoutStackTraceSym0 :: TyFun k0 k2 -> Type) (a6989586621679545983 :: k0) Source # 
Instance details

Defined in GHC.TypeLits.Singletons.Internal

type Apply (ErrorWithoutStackTraceSym0 :: TyFun k0 k2 -> Type) (a6989586621679545983 :: k0) = ErrorWithoutStackTrace a6989586621679545983 :: k2

type family ErrorWithoutStackTraceSym1 (a6989586621679545983 :: k0) :: k where ... Source #

Equations

ErrorWithoutStackTraceSym1 a6989586621679545983 = ErrorWithoutStackTrace a6989586621679545983 

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

data KnownNatSym0 :: (~>) Nat Constraint Source #

Instances

Instances details
SuppressUnusedWarnings KnownNatSym0 Source # 
Instance details

Defined in GHC.TypeLits.Singletons

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

Defined in GHC.TypeLits.Singletons

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

type family KnownNatSym1 (a6989586621679557763 :: Nat) :: Constraint where ... Source #

Equations

KnownNatSym1 a6989586621679557763 = KnownNat a6989586621679557763 

data KnownSymbolSym0 :: (~>) Symbol Constraint Source #

Instances

Instances details
SuppressUnusedWarnings KnownSymbolSym0 Source # 
Instance details

Defined in GHC.TypeLits.Singletons

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

Defined in GHC.TypeLits.Singletons

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

type family KnownSymbolSym1 (a6989586621679557765 :: Symbol) :: Constraint where ... Source #

Equations

KnownSymbolSym1 a6989586621679557765 = KnownSymbol a6989586621679557765 

data KnownCharSym0 :: (~>) Char Constraint Source #

Instances

Instances details
SuppressUnusedWarnings KnownCharSym0 Source # 
Instance details

Defined in GHC.TypeLits.Singletons

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

Defined in GHC.TypeLits.Singletons

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

type family KnownCharSym1 (a6989586621679557767 :: Char) :: Constraint where ... Source #

Equations

KnownCharSym1 a6989586621679557767 = KnownChar a6989586621679557767 

data (^@#@$) :: (~>) 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 (^@#@$) (a6989586621679546930 :: Natural) Source # 
Instance details

Defined in GHC.TypeLits.Singletons.Internal

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

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

Instances

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

Defined in GHC.TypeLits.Singletons.Internal

Methods

liftSing :: forall (x :: k1). 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 ((^@#@$$) a6989586621679546930 :: TyFun Natural Natural -> Type) Source # 
Instance details

Defined in GHC.TypeLits.Singletons.Internal

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

Defined in GHC.TypeLits.Singletons.Internal

type Apply ((^@#@$$) a6989586621679546930 :: TyFun Natural Natural -> Type) (a6989586621679546931 :: Natural) = a6989586621679546930 ^ a6989586621679546931

type family (a6989586621679546930 :: Natural) ^@#@$$$ (a6989586621679546931 :: Natural) :: Natural where ... infixr 8 Source #

Equations

a6989586621679546930 ^@#@$$$ a6989586621679546931 = (^) a6989586621679546930 a6989586621679546931 

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

Instances

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

Defined in GHC.TypeLits.Singletons.Internal

Methods

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

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

Defined in GHC.TypeLits.Singletons.Internal

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

Defined in GHC.TypeLits.Singletons.Internal

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

data (<=?@#@$$) (a6989586621679547349 :: k) :: (~>) 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 :: k1). 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 ((<=?@#@$$) a6989586621679547349 :: TyFun k Bool -> Type) Source # 
Instance details

Defined in GHC.TypeLits.Singletons.Internal

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

Defined in GHC.TypeLits.Singletons.Internal

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

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

Equations

a6989586621679547349 <=?@#@$$$ a6989586621679547350 = (<=?) a6989586621679547349 a6989586621679547350 

data Log2Sym0 :: (~>) 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 (a6989586621679558354 :: Natural) Source # 
Instance details

Defined in GHC.TypeLits.Singletons

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

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

Equations

Log2Sym1 a6989586621679558354 = Log2 a6989586621679558354 

data DivSym0 :: (~>) 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 (a6989586621679558584 :: Natural) Source # 
Instance details

Defined in GHC.TypeLits.Singletons

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

data DivSym1 (a6989586621679558584 :: Natural) :: (~>) Natural Natural infixl 7 Source #

Instances

Instances details
SingI1 DivSym1 Source # 
Instance details

Defined in GHC.TypeLits.Singletons

Methods

liftSing :: forall (x :: k1). 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 a6989586621679558584 :: TyFun Natural Natural -> Type) Source # 
Instance details

Defined in GHC.TypeLits.Singletons

type Apply (DivSym1 a6989586621679558584 :: TyFun Natural Natural -> Type) (a6989586621679558585 :: Natural) Source # 
Instance details

Defined in GHC.TypeLits.Singletons

type Apply (DivSym1 a6989586621679558584 :: TyFun Natural Natural -> Type) (a6989586621679558585 :: Natural) = Div a6989586621679558584 a6989586621679558585

type family DivSym2 (a6989586621679558584 :: Natural) (a6989586621679558585 :: Natural) :: Natural where ... infixl 7 Source #

Equations

DivSym2 a6989586621679558584 a6989586621679558585 = Div a6989586621679558584 a6989586621679558585 

data ModSym0 :: (~>) 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 (a6989586621679559017 :: Natural) Source # 
Instance details

Defined in GHC.TypeLits.Singletons

type Apply ModSym0 (a6989586621679559017 :: Natural) = ModSym1 a6989586621679559017

data ModSym1 (a6989586621679559017 :: Natural) :: (~>) Natural Natural infixl 7 Source #

Instances

Instances details
SingI1 ModSym1 Source # 
Instance details

Defined in GHC.TypeLits.Singletons

Methods

liftSing :: forall (x :: k1). 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 a6989586621679559017 :: TyFun Natural Natural -> Type) Source # 
Instance details

Defined in GHC.TypeLits.Singletons

type Apply (ModSym1 a6989586621679559017 :: TyFun Natural Natural -> Type) (a6989586621679559018 :: Natural) Source # 
Instance details

Defined in GHC.TypeLits.Singletons

type Apply (ModSym1 a6989586621679559017 :: TyFun Natural Natural -> Type) (a6989586621679559018 :: Natural) = Mod a6989586621679559017 a6989586621679559018

type family ModSym2 (a6989586621679559017 :: Natural) (a6989586621679559018 :: Natural) :: Natural where ... infixl 7 Source #

Equations

ModSym2 a6989586621679559017 a6989586621679559018 = Mod a6989586621679559017 a6989586621679559018 

data DivModSym0 :: (~>) Natural ((~>) Natural (Natural, Natural)) Source #

Instances

Instances details
SuppressUnusedWarnings DivModSym0 Source # 
Instance details

Defined in GHC.TypeLits.Singletons

type Apply DivModSym0 (a6989586621679559612 :: Natural) Source # 
Instance details

Defined in GHC.TypeLits.Singletons

type Apply DivModSym0 (a6989586621679559612 :: Natural) = DivModSym1 a6989586621679559612

data DivModSym1 (a6989586621679559612 :: Natural) :: (~>) Natural (Natural, Natural) Source #

Instances

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

Defined in GHC.TypeLits.Singletons

type Apply (DivModSym1 a6989586621679559612 :: TyFun Natural (Natural, Natural) -> Type) (a6989586621679559613 :: Natural) Source # 
Instance details

Defined in GHC.TypeLits.Singletons

type Apply (DivModSym1 a6989586621679559612 :: TyFun Natural (Natural, Natural) -> Type) (a6989586621679559613 :: Natural) = DivMod a6989586621679559612 a6989586621679559613

type family DivModSym2 (a6989586621679559612 :: Natural) (a6989586621679559613 :: Natural) :: (Natural, Natural) where ... Source #

Equations

DivModSym2 a6989586621679559612 a6989586621679559613 = DivMod a6989586621679559612 a6989586621679559613 

data QuotSym0 :: (~>) Natural ((~>) Natural Natural) infixl 7 Source #

Instances

Instances details
SuppressUnusedWarnings QuotSym0 Source # 
Instance details

Defined in GHC.TypeLits.Singletons

type Apply QuotSym0 (a6989586621679559594 :: Natural) Source # 
Instance details

Defined in GHC.TypeLits.Singletons

type Apply QuotSym0 (a6989586621679559594 :: Natural) = QuotSym1 a6989586621679559594

data QuotSym1 (a6989586621679559594 :: Natural) :: (~>) Natural Natural infixl 7 Source #

Instances

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

Defined in GHC.TypeLits.Singletons

type Apply (QuotSym1 a6989586621679559594 :: TyFun Natural Natural -> Type) (a6989586621679559595 :: Natural) Source # 
Instance details

Defined in GHC.TypeLits.Singletons

type Apply (QuotSym1 a6989586621679559594 :: TyFun Natural Natural -> Type) (a6989586621679559595 :: Natural) = Quot a6989586621679559594 a6989586621679559595

type family QuotSym2 (a6989586621679559594 :: Natural) (a6989586621679559595 :: Natural) :: Natural where ... infixl 7 Source #

Equations

QuotSym2 a6989586621679559594 a6989586621679559595 = Quot a6989586621679559594 a6989586621679559595 

data RemSym0 :: (~>) Natural ((~>) Natural Natural) infixl 7 Source #

Instances

Instances details
SuppressUnusedWarnings RemSym0 Source # 
Instance details

Defined in GHC.TypeLits.Singletons

type Apply RemSym0 (a6989586621679559583 :: Natural) Source # 
Instance details

Defined in GHC.TypeLits.Singletons

type Apply RemSym0 (a6989586621679559583 :: Natural) = RemSym1 a6989586621679559583

data RemSym1 (a6989586621679559583 :: Natural) :: (~>) Natural Natural infixl 7 Source #

Instances

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

Defined in GHC.TypeLits.Singletons

type Apply (RemSym1 a6989586621679559583 :: TyFun Natural Natural -> Type) (a6989586621679559584 :: Natural) Source # 
Instance details

Defined in GHC.TypeLits.Singletons

type Apply (RemSym1 a6989586621679559583 :: TyFun Natural Natural -> Type) (a6989586621679559584 :: Natural) = Rem a6989586621679559583 a6989586621679559584

type family RemSym2 (a6989586621679559583 :: Natural) (a6989586621679559584 :: Natural) :: Natural where ... infixl 7 Source #

Equations

RemSym2 a6989586621679559583 a6989586621679559584 = Rem a6989586621679559583 a6989586621679559584 

data QuotRemSym0 :: (~>) Natural ((~>) Natural (Natural, Natural)) Source #

Instances

Instances details
SuppressUnusedWarnings QuotRemSym0 Source # 
Instance details

Defined in GHC.TypeLits.Singletons

type Apply QuotRemSym0 (a6989586621679559605 :: Natural) Source # 
Instance details

Defined in GHC.TypeLits.Singletons

type Apply QuotRemSym0 (a6989586621679559605 :: Natural) = QuotRemSym1 a6989586621679559605

data QuotRemSym1 (a6989586621679559605 :: Natural) :: (~>) Natural (Natural, Natural) Source #

Instances

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

Defined in GHC.TypeLits.Singletons

type Apply (QuotRemSym1 a6989586621679559605 :: TyFun Natural (Natural, Natural) -> Type) (a6989586621679559606 :: Natural) Source # 
Instance details

Defined in GHC.TypeLits.Singletons

type Apply (QuotRemSym1 a6989586621679559605 :: TyFun Natural (Natural, Natural) -> Type) (a6989586621679559606 :: Natural) = QuotRem a6989586621679559605 a6989586621679559606

type family QuotRemSym2 (a6989586621679559605 :: Natural) (a6989586621679559606 :: Natural) :: (Natural, Natural) where ... Source #

Equations

QuotRemSym2 a6989586621679559605 a6989586621679559606 = QuotRem a6989586621679559605 a6989586621679559606 

data ConsSymbolSym0 :: (~>) 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 (a6989586621679560776 :: Char) Source # 
Instance details

Defined in GHC.TypeLits.Singletons

type Apply ConsSymbolSym0 (a6989586621679560776 :: Char) = ConsSymbolSym1 a6989586621679560776

data ConsSymbolSym1 (a6989586621679560776 :: Char) :: (~>) Symbol Symbol Source #

Instances

Instances details
SingI1 ConsSymbolSym1 Source # 
Instance details

Defined in GHC.TypeLits.Singletons

Methods

liftSing :: forall (x :: k1). 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 a6989586621679560776 :: TyFun Symbol Symbol -> Type) Source # 
Instance details

Defined in GHC.TypeLits.Singletons

type Apply (ConsSymbolSym1 a6989586621679560776 :: TyFun Symbol Symbol -> Type) (a6989586621679560777 :: Symbol) Source # 
Instance details

Defined in GHC.TypeLits.Singletons

type Apply (ConsSymbolSym1 a6989586621679560776 :: TyFun Symbol Symbol -> Type) (a6989586621679560777 :: Symbol) = ConsSymbol a6989586621679560776 a6989586621679560777

type family ConsSymbolSym2 (a6989586621679560776 :: Char) (a6989586621679560777 :: Symbol) :: Symbol where ... Source #

Equations

ConsSymbolSym2 a6989586621679560776 a6989586621679560777 = ConsSymbol a6989586621679560776 a6989586621679560777 

data UnconsSymbolSym0 :: (~>) 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 (a6989586621679561235 :: Symbol) Source # 
Instance details

Defined in GHC.TypeLits.Singletons

type Apply UnconsSymbolSym0 (a6989586621679561235 :: Symbol) = UnconsSymbol a6989586621679561235

type family UnconsSymbolSym1 (a6989586621679561235 :: Symbol) :: Maybe (Char, Symbol) where ... Source #

Equations

UnconsSymbolSym1 a6989586621679561235 = UnconsSymbol a6989586621679561235 

data CharToNatSym0 :: (~>) 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 (a6989586621679561453 :: Char) Source # 
Instance details

Defined in GHC.TypeLits.Singletons

type Apply CharToNatSym0 (a6989586621679561453 :: Char) = CharToNat a6989586621679561453

type family CharToNatSym1 (a6989586621679561453 :: Char) :: Natural where ... Source #

Equations

CharToNatSym1 a6989586621679561453 = CharToNat a6989586621679561453 

data NatToCharSym0 :: (~>) 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 (a6989586621679561676 :: Natural) Source # 
Instance details

Defined in GHC.TypeLits.Singletons

type Apply NatToCharSym0 (a6989586621679561676 :: Natural) = NatToChar a6989586621679561676

type family NatToCharSym1 (a6989586621679561676 :: Natural) :: Char where ... Source #

Equations

NatToCharSym1 a6989586621679561676 = NatToChar a6989586621679561676 

Orphan instances

IsString Symbol Source # 
Instance details

Methods

fromString :: String -> Symbol #

Monoid Symbol Source # 
Instance details

Semigroup Symbol Source # 
Instance details

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