yasi-0.0.0.0: Yet another string interpolator
Safe HaskellNone
LanguageHaskell2010

Yasi.Internal

Description

Internal module, no stability guarantees

Documentation

data Segment Source #

Constructors

Lit String 
Var String 
ShowVar String 
Abs 

Instances

Instances details
Eq Segment Source # 
Instance details

Defined in Yasi.Internal

Methods

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

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

Show Segment Source # 
Instance details

Defined in Yasi.Internal

Generic Segment Source # 
Instance details

Defined in Yasi.Internal

Associated Types

type Rep Segment :: Type -> Type #

Methods

from :: Segment -> Rep Segment x #

to :: Rep Segment x -> Segment #

type Rep Segment Source # 
Instance details

Defined in Yasi.Internal

interpolator Source #

Arguments

:: Char 
-> ([Segment] -> Q [Segment])

postprocess the Segments

-> (Exp -> Q Exp)

postprocess the Exp

-> QuasiQuoter 

class Stringy a b where Source #

Methods

stringy :: a -> b Source #

Instances

Instances details
Stringy String String Source # 
Instance details

Defined in Yasi.Internal

Stringy String ByteString Source # 
Instance details

Defined in Yasi.Internal

Stringy String ByteString Source # 
Instance details

Defined in Yasi.Internal

Stringy String Text Source # 
Instance details

Defined in Yasi.Internal

Methods

stringy :: String -> Text Source #

Stringy String Text Source # 
Instance details

Defined in Yasi.Internal

Methods

stringy :: String -> Text Source #

Stringy ByteString ByteString Source # 
Instance details

Defined in Yasi.Internal

Stringy ByteString ByteString Source # 
Instance details

Defined in Yasi.Internal

Stringy Text String Source # 
Instance details

Defined in Yasi.Internal

Methods

stringy :: Text -> String Source #

Stringy Text ByteString Source # 
Instance details

Defined in Yasi.Internal

Stringy Text ByteString Source # 
Instance details

Defined in Yasi.Internal

Stringy Text Text Source # 
Instance details

Defined in Yasi.Internal

Methods

stringy :: Text -> Text Source #

Stringy Text Text Source # 
Instance details

Defined in Yasi.Internal

Methods

stringy :: Text0 -> Text Source #

Stringy Text String Source # 
Instance details

Defined in Yasi.Internal

Methods

stringy :: Text -> String Source #

Stringy Text ByteString Source # 
Instance details

Defined in Yasi.Internal

Stringy Text ByteString Source # 
Instance details

Defined in Yasi.Internal

Stringy Text Text Source # 
Instance details

Defined in Yasi.Internal

Methods

stringy :: Text -> Text0 Source #

Stringy Text Text Source # 
Instance details

Defined in Yasi.Internal

Methods

stringy :: Text -> Text Source #