lambdabot-4.3: Lambdabot is a development tool and advanced IRC bot
Lambdabot.Util.Parser
Synopsis
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.
Exp
Decl
prettyPrintInLine :: Pretty a => a -> StringSource
Render haskell code in a compact format