Safe Haskell | None |
---|---|
Language | Haskell2010 |
Functions to facilitate automated and manual testing.
Documentation
compileUnits :: [String] -> Either ParseError Node Source #
Parse and compile a list of strings containing a translation units.
p :: [String] -> String Source #
Convenience function: Parse and compile a list of strings containing translation units, but always returns a string even in the case of an error.
pm :: [String] -> String Source #
Parse and compile a list of input strings into Markdown help format.
pp :: String -> IO () Source #
Pretty-prints the result of parsing and compiling an input string.
To facilitate quick testing in the REPL; example:
pp "unlet g:var"
ppm :: String -> IO () Source #
Pretty-prints the result of parsing and compiling an input string and transforming into Markdown format.
For logging in the REPL.