[Haskell] Polymorphic types in RHS of type instances