Reverse Polish Notation haskell parser