Reverse Polish Notation calculator in haskell