[Haskell] deriving with newtypes