morley-1.19.0: Developer tools for the Michelson Language
Safe HaskellSafe-Inferred
LanguageHaskell2010

Morley.Util.Interpolate.Internal

Description

Internal module exporting utilities for making string interpolation quasiquoters

Synopsis

Documentation

data Transformation Source #

Datatype encoding transformations we apply to a quoter input and output. Note the order is important! We first unescape, then unindent, then trim.

transformationsPowerSet :: [Transformations] Source #

Used to generate quasi-quoters

mkQuoter :: Transformations -> QuasiQuoter Source #

Make a QuasiQuoter using a given set of transformaions

generateName :: Transformations -> Name Source #

Generate TH Name for a quoter based on a set of transformations