[Haskell] Re: Functional dependencies and type inference (2)