
20 Feb
2006
20 Feb
'06
7:37 p.m.
Jared,
How about combining the two (since 'hiding' is already a reserved word):
module Module hiding ( list, of, things, not, to, export ) where ....
Everything gets exported except what you explicitly hide. Is this general enough? Are there reasons why this might not work? And does this solve your problem? Does anyone like this idea (aethestically and pragmatically)?
This seems to make perfect sense to me, by having this syntax we can cater for three different exports: export explicit functions only; export everything in the module and export everything except explicitly named functions. Thanks. Chris.
Jared.
Christopher Brown Ph.D. Student University of Kent. UK. http://www.cs.kent.ac.uk/people/rpg/cmb21/index.html