significant-figures-0.2.0.0: Calculate expressions involving significant figures.
Safe HaskellSafe-Inferred
LanguageHaskell2010

Data.SigFig.Interface

Description

This module provides some helpful functions to assist in an interface for a significant figures calculator. There isn't much to see here.

Synopsis

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.