[Haskell-cafe] List of exports of a module - are there alternatives?

Henning Thielemann lemming at henning-thielemann.de
Wed May 13 19:15:30 EDT 2009

Miguel Mitrofanov schrieb:
> Neil Brown wrote on 13.05.2009 14:23:
>> Leaving aside the arguments about 200 exports, even for 20 exports it
>> would sometimes be cleaner to write the above to hide one, than to
>> spell out the other 19 in an export list.
> Note that Haddock orders exports according to the export list, not to an
> order of definition. Also, you can have (sub)sections in documentation
> using an export list only. Therefore, it's still better to have an
> export list, even if you export 19 functions and hide one.

You can move the few non-exported functions to a hidden module. (hope
there are no dependencies on exported functions)

More information about the Haskell-Cafe mailing list