HP Forums

Full Version: Reverse Polish Notation Calculator
You're currently viewing a stripped down version of our content. View the full version with proper formatting.

Some time ago I stumbled upon an
appealing tutorial: Learn You a Haskell.

Now there's a Erlang version of his book with the same example of a Reverse Polish Notation Calculator.



Interesting. I did think about using Haskell as an implementation language for a calculator -- lazy evaluation provides one easy path to guarantee correctly rounded results.

The critical downside was unlimited memory requirements which is terminal in a small footprint device.

- Pauli