Sample monadic perser using Happy and Alex