Documentation
reduce :: Expr -> StringSource
Reduces an expression, and returns a string containing the log appended with the result
displayReduce :: Expr -> IO ()Source
Prints the result of reduce to stdout. The main reason for this function is that the log contains newline Chars, and newlines don't format correctly in ghci.