Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
This module provides some helpful functions to assist in an interface for a significant figures calculator. There isn't much to see here.
Documentation
parseEval :: Text -> Either Text Term Source #
Takes an expression in text and returns either an error message or an evaluated term.
processExpression :: Text -> Text Source #
A convenience function for use in REPLs (used in the CLI). Returns text that can either signify a result or error.