[Haskell-cafe] Unexported functions are evil

Iavor Diatchki iavor.diatchki at gmail.com
Mon May 16 17:11:22 EDT 2005


Hello,

On 15 May 2005 12:29:11 +0200, Peter Simons <simons at cryp.to> wrote:
...
> On those occasions, however, why not put the function into a
> module, say "Foo.Bar.Private" and import it into "Foo.Bar"
> from there? Then those people who enjoy playing with fire
> _can_ use it, and everybody else will not.

Besides all the good points everyone else made, in practice this is
likely to often lead to recursive modules which are not supported by
most Haskell implementations.

-Iavor


More information about the Haskell-Cafe mailing list