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

Data.SigFig.Parse

Description

A module that exports two functions, parse and parse', to help with turning text into expression trees.

Synopsis

Documentation

parse :: Text -> Either Text Expr Source #

Parse text into either an error message or an expression.

parse' :: Text -> Expr Source #

Like parse, but assume the result is a valid expression and crash otherwise.