yasi-0.2.0.1: Yet another string interpolator
Safe HaskellNone
LanguageHaskell2010

Yasi.Internal

Description

Internal module, no stability guarantees

Documentation

data Segment Source #

Constructors

Lit String 
Exp 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

ipExpr :: (Exp -> Exp) -> [Segment] -> Q Exp Source #

interpolator Source #

Arguments

:: Char 
-> (Exp -> Exp)

postprocess the Exp

-> QuasiQuoter 

class Stringish a where Source #

Methods

stringish :: Builder -> a Source #

Instances

Instances details
Stringish String Source # 
Instance details

Defined in Yasi.Internal

Stringish Text Source # 
Instance details

Defined in Yasi.Internal

Stringish Text Source # 
Instance details

Defined in Yasi.Internal