QuasiText-0.1.2.0: A QuasiQuoter for Text.

Safe HaskellNone

Text.QuasiText

Description

A simple QuasiQuoter for Text strings. Note that to use embed you need to use the OverloadedStrings extension.

Synopsis

Documentation

embed :: QuasiQuoterSource

A simple QuasiQuoter to interpolate Text into other pieces of Text. Expressions can be embedded using $(...) or $..., $... will only work for one-word expressions (best suited for just variable substitution), but $(...) will work for anything..

data Chunk Source

Constructors

T Text 
E Text 
V Text 

Instances

getChunks :: Text -> [Chunk]Source

Create Chunks without any TH.