Version française
Home     About     Download     Resources     Contact us    
Browse thread
[Caml-list] interface of sorted collections
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Damien Doligez <damien.doligez@i...>
Subject: Re: [Caml-list] interface of sorted collections
On Wednesday, October 15, 2003, at 09:23 AM, Florian Hars wrote:

> Christian Lindig wrote:
>> I have noted that in sorted collections like the Map and Set modules
>
> They are unsorted collections. If you observe some kind of sorting in 
> these collections, it is just an implementation accident.

Not quite.  Both Set and Map demand ordered types as arguments, and
that's no accident.

-- Damien

-------------------
To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr
Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/
Beginner's list: http://groups.yahoo.com/group/ocaml_beginners