The Museum of HP Calculators

HP Forum Archive 21

[ Return to Index | Top of Index ]

Reverse Polish Notation Calculator
Message #1 Posted by Thomas Klemm on 24 Dec 2012, 9:37 a.m.

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.

Cheers
Thomas

      
Re: Reverse Polish Notation Calculator
Message #2 Posted by Paul Dale on 24 Dec 2012, 12:18 p.m.,
in response to message #1 by Thomas Klemm

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


[ Return to Index | Top of Index ]

Go back to the main exhibit hall