Simple arithmetic interpreter

November 16, 2021 · View on GitHub

How to run:

ghci src/Lib.hs

Then:

λ> eval "(1 + 5 + 3 / 2)"
Right 4.5