lambdabot-4.3: Lambdabot is a development tool and advanced IRC bot

Safe HaskellNone

Lambdabot.Util.Parser

Synopsis

Documentation

withParsed :: (forall a. (Data a, Eq a) => a -> a) -> String -> StringSource

Parse a string as an Exp or a Decl, apply the given generic transformation to it, and re-render it back to text.

prettyPrintInLine :: Pretty a => a -> StringSource

Render haskell code in a compact format