From: skaller <sk...@us...> - 2004-12-20 09:26:14
|
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:sk...@us... voice: 061-2-9660-0850, snail: PO BOX 401 Glebe NSW 2037 Australia Checkout the Felix programming language http://felix.sf.net |