Haskell library like SymPy? [closed]
Please check out the numbers package. If all you need is to store exact numbers like “1 + √3”, you may want to use Data.Number.CReal instead of symbolic arithmetics. It stores the expressions and can be computed to arbitrary number of digits when needed. Prelude Data.Number.CReal> let cx = 1 + sqrt (3 :: CReal) … Read more