[
Home
]
[ Index:
by date
|
by threads
]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
| Date: | -- (:) |
| From: | Marcin 'Qrczak' Kowalczyk <qrczak@k...> |
| Subject: | [Caml-list] Sorting |
Sort.array : order:('a -> 'a -> bool) -> 'a array -> unit
Sort.list : order:('a -> 'a -> bool) -> 'a list -> 'a list
Array.sort : cmp:('a -> 'a -> int) -> 'a array -> unit
List.sort : cmp:('a -> 'a -> int) -> 'a list -> 'a list
What are advantages and disadvantages in parametrizing either by '<'
or by the 3-way comparison?
--
__("< Marcin Kowalczyk * qrczak@knm.org.pl http://qrczak.ids.net.pl/
\__/
^^
QRCZAK
-------------------
Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/
To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr