Safe Haskell | None |
---|---|
Language | Haskell2010 |
Parsers for antiquoted Haskell expressions inside strings.
This module was largely copied from https://github.com/tmhedberg/here/blob/8a616b358bcc16bd215a78a8f6192ad9df8224b6/src/Data/String/Here/Interpolated.hs
Documentation
data HsChompState Source #
HsChompState | |
|
data QuoteState Source #
Instances
Eq QuoteState Source # | |
Defined in Database.PostgreSQL.Simple.SqlQQ.Interpolated.Parser (==) :: QuoteState -> QuoteState -> Bool Source # (/=) :: QuoteState -> QuoteState -> Bool Source # | |
Ord QuoteState Source # | |
Defined in Database.PostgreSQL.Simple.SqlQQ.Interpolated.Parser compare :: QuoteState -> QuoteState -> Ordering Source # (<) :: QuoteState -> QuoteState -> Bool Source # (<=) :: QuoteState -> QuoteState -> Bool Source # (>) :: QuoteState -> QuoteState -> Bool Source # (>=) :: QuoteState -> QuoteState -> Bool Source # max :: QuoteState -> QuoteState -> QuoteState Source # min :: QuoteState -> QuoteState -> QuoteState Source # | |
Show QuoteState Source # | |
data EscapeState Source #
Instances
parseInterpolated :: String -> Either ParseError [StringPart] Source #
pInterp :: Parser [StringPart] Source #
pAnti :: Parser StringPart Source #
pEsc :: Parser StringPart Source #
pLit :: Parser StringPart Source #