I'm writing a library, and in it I have defined and exported some (very convoluted) type synonym T
.
-- | A type
type T a b i o = ReaderT (WriterT i a X) (WriterT i b o)
Internal to the library, the type makes sense. To a user, however, it is unecessary and confusing. For that reason, I would prefer to hide the actual declaration of the type in the Haddock page.
I.E., I would prefer the Haddock page look like this...
type T a b i o
A type
... rather than this.
type T a b i o = ReaderT (WriterT i a X) (WriterT i b o)
A type
Is this possible? If so, how?