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

Miguel Mitrofanov miguelimo38 at yandex.ru
Wed May 13 06:31:00 EDT 2009



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.


More information about the Haskell-Cafe mailing list