[Haskell-beginners] computing multiple attributes in Happy