public/private module sections (was Re[2]: Export lists in
modules)
Bulat Ziganshin
bulat.ziganshin at gmail.com
Thu Feb 23 15:12:08 EST 2006
Hello Claus,
Thursday, February 23, 2006, 9:48:03 PM, you wrote:
CR> if you'd go one step further, you'd replace the public/private modifiers
CR> with public/private module sections. I don't like the modifiers, and I'm
CR> uncertain about the intermediate form you suggested, but I might be
CR> able to live with two-section modules:
CR> nothing is duplicated, the public and private items are clearly grouped.
in my programs and other programs i seen (including GHC and standard
libraries) sections cover the related functions and types. part of
them are exported and part not exported
--
Best regards,
Bulat mailto:Bulat.Ziganshin at gmail.com
More information about the Haskell-prime
mailing list