diff in Haskell: clarification