[Haskell-beginners] why doesn't this work?