From: Nicolas C. <war...@fr...> - 2005-05-29 08:14:30
|
No purpose I think here. Maybe sort was first added with optional argument, and other sorts were added after that. Nicolas ----- Original Message ----- From: "Yaron Minsky" <ym...@gm...> To: "ExtLib" <oca...@li...> Sent: Sunday, May 29, 2005 4:00 AM Subject: [Ocaml-lib-devel] Labels in list module I've been playing around with the possibility of adding labelled interfaces to extlib to match the labelled interfaces available in the standard library. When I was looking over the list interface of extlib, I noticed something odd: The sort function has an optional comparison argument, but the fast_sort, stable_sort and merge don't: the argument is mandatory. Is this on purpose, and if so, why? Yaron |