public/private module sections (was: Haskell-prime Digest, Vol 2, Issue 58)

Sebastian Sylvan sebastian.sylvan at gmail.com
Fri Feb 24 11:22:54 EST 2006


On 2/24/06, Benjamin Franksen <benjamin.franksen at bessy.de> wrote:
> On Friday 24 February 2006 16:38, Bulat Ziganshin wrote:
> > i personally prefer to have
> > public/private modifiers on each function and gather interface
> > documentation by tools like haddock
>
> Me too.
>

Maybe if you only had to specify which functions where public (whereas
private is implied -- or maybe not even allowing it to save a
keyword). But having to type one of "public" or "private" at each
function site would get really tedious...

/S
--
Sebastian Sylvan
+46(0)736-818655
UIN: 44640862


More information about the Haskell-prime mailing list