cake3-0.6.5: Third cake the Makefile EDSL

Text.QuasiMake

Description

QuasyString-like module. Tweaked for the cake3

Synopsis

# Documentation

data Chunk Source #

Chunk is a part of quasy-quotation

Constructors

 T Text the text E Char Text $(expr) or @(expr) Instances  Source # Methods(==) :: Chunk -> Chunk -> Bool #(/=) :: Chunk -> Chunk -> Bool # Source # MethodsshowsPrec :: Int -> Chunk -> ShowS #show :: Chunk -> String #showList :: [Chunk] -> ShowS # getChunks :: Text -> [Chunk] Source # A simple QuasiQuoter to interpolate Text into other pieces of Text. Expressions can be embedded using$(expr) or @(expr), and values can be interpolated with $name. Inside$( )s, if you have a string of ambiguous type, it will default to the Show instance for toText, which will escape unicode characters in the string, and add quotes around them.