Reverse Polish notation calculator



Post: #2

Found in an appealing tutorial: Learn You a Haskell

Quote:
While most modern calculators use infix notation, some people still swear by RPN calculators.

Quiet a few of them can be found in this forum, I guess.

Just for those interested in the code: foldl is pretty much the same as STREAM in RPL.

Cheers

Thomas

PS: Unfortunately the calculator is NOT RPN.


Forum Jump: