singletons-base-3.3: A promoted and singled version of the base library
Copyright(C) 2017 Ryan Scott
LicenseBSD-style (see LICENSE)
MaintainerRyan Scott
Stabilityexperimental
Portabilitynon-portable
Safe HaskellNone
LanguageGHC2021

Data.String.Singletons

Description

Defines and exports a promoted and singled version of the IsString type class from Data.String.

Synopsis

Documentation

class PIsString a Source #

Associated Types

type FromString (arg :: Symbol) :: a Source #

Instances

Instances details
PIsString Symbol Source # 
Instance details

Defined in Data.String.Singletons

Associated Types

type FromString a 
Instance details

Defined in Data.String.Singletons

type FromString a = a
PIsString (Identity a) Source # 
Instance details

Defined in Data.String.Singletons

PIsString (Const a b) Source # 
Instance details

Defined in Data.String.Singletons

class SIsString a where Source #

Methods

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

Instances

Instances details
SIsString Symbol Source # 
Instance details

Defined in Data.String.Singletons

Methods

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

SIsString a => SIsString (Identity a) Source # 
Instance details

Defined in Data.String.Singletons

Methods

sFromString :: forall (t :: Symbol). Sing t -> Sing (Apply (FromStringSym0 :: TyFun Symbol (Identity a) -> Type) t) Source #

SIsString a => SIsString (Const a b) Source # 
Instance details

Defined in Data.String.Singletons

Methods

sFromString :: forall (t :: Symbol). Sing t -> Sing (Apply (FromStringSym0 :: TyFun Symbol (Const a b) -> Type) t) Source #

Defunctionalization symbols

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

Instances

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

Defined in Data.String.Singletons

Methods

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

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

Defined in Data.String.Singletons

type Apply (FromStringSym0 :: TyFun Symbol k2 -> Type) (a6989586621681179965 :: Symbol) Source # 
Instance details

Defined in Data.String.Singletons

type Apply (FromStringSym0 :: TyFun Symbol k2 -> Type) (a6989586621681179965 :: Symbol) = FromString a6989586621681179965 :: k2

type family FromStringSym1 (a6989586621681179965 :: Symbol) :: a where ... Source #

Equations

FromStringSym1 a6989586621681179965 = FromString a6989586621681179965 :: a