On Sun, 2004-12-19 at 23:11, Bardur Arantsson wrote:
> If they're changed to behaving in a non-destructive way,
> then the names should *definitely* be changed. For the
> sake of consistency I would suggest using the same names
> as are used in the standard library's Set:
>
> union, inter, diff
There many be a good reason for a non-functional
API as well (performance) -- but please note I said 'may'.
In C it would definitely be the case, but in Ocaml it may
not be so -- the functional interface is vital, and the
same names as Set module is clearly the way to go where
appropriate.
--
John Skaller, mailto:skaller@xxxxxxxxxxxx
voice: 061-2-9660-0850,
snail: PO BOX 401 Glebe NSW 2037 Australia
Checkout the Felix programming language http://felix.sf.net
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://productguide.itmanagersjournal.com/
|
Try Searching:
servers, voip, java, networking, microsoft ...
|
|
|
|