napkin-0.5.14
Safe HaskellSafe-Inferred
LanguageGHC2021

Napkin.Types.SemanticString

Documentation

newtype SrcLitStr #

Constructors

SrcLitStr 

Instances

Instances details
Data SrcLitStr # 
Instance details

Defined in Napkin.Types.SemanticString

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> SrcLitStr -> c SrcLitStr #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c SrcLitStr #

toConstr :: SrcLitStr -> Constr #

dataTypeOf :: SrcLitStr -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c SrcLitStr) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c SrcLitStr) #

gmapT :: (forall b. Data b => b -> b) -> SrcLitStr -> SrcLitStr #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> SrcLitStr -> r #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> SrcLitStr -> r #

gmapQ :: (forall d. Data d => d -> u) -> SrcLitStr -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> SrcLitStr -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> SrcLitStr -> m SrcLitStr #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> SrcLitStr -> m SrcLitStr #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> SrcLitStr -> m SrcLitStr #

IsString SrcLitStr # 
Instance details

Defined in Napkin.Types.SemanticString

Semigroup SrcLitStr # 
Instance details

Defined in Napkin.Types.SemanticString

Generic SrcLitStr # 
Instance details

Defined in Napkin.Types.SemanticString

Associated Types

type Rep SrcLitStr :: Type -> Type #

Show SrcLitStr # 
Instance details

Defined in Napkin.Types.SemanticString

NFData SrcLitStr # 
Instance details

Defined in Napkin.Types.SemanticString

Methods

rnf :: SrcLitStr -> () #

Eq SrcLitStr # 
Instance details

Defined in Napkin.Types.SemanticString

Ord SrcLitStr # 
Instance details

Defined in Napkin.Types.SemanticString

Hashable SrcLitStr # 
Instance details

Defined in Napkin.Types.SemanticString

ToLText SrcLitStr # 
Instance details

Defined in Napkin.Types.SemanticString

Methods

toLText :: SrcLitStr -> LText #

ToText SrcLitStr # 
Instance details

Defined in Napkin.Types.SemanticString

Methods

toText :: SrcLitStr -> Text #

Lift SrcLitStr # 
Instance details

Defined in Napkin.Types.SemanticString

Methods

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

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

type Rep SrcLitStr # 
Instance details

Defined in Napkin.Types.SemanticString

type Rep SrcLitStr = D1 ('MetaData "SrcLitStr" "Napkin.Types.SemanticString" "napkin-0.5.14-JrXUGmKUOt9J0meJSj0Kh4" 'True) (C1 ('MetaCons "SrcLitStr" 'PrefixI 'True) (S1 ('MetaSel ('Just "_unSrcLitStr") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 SrcLitStr)))

txt :: Text -> Doc #