[Haskell-cafe] How to derive instance for type without exported constructor?