English version
Accueil     À propos     Téléchargement     Ressources     Contactez-nous    

Ce site est rarement mis à jour. Pour les informations les plus récentes, rendez-vous sur le nouveau site OCaml à l'adresse ocaml.org.

Browse thread
[Caml-list] [ANN] The Missing Library
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2004-04-28 (17:21)
From: skaller <skaller@u...>
Subject: Re: [Caml-list] [ANN] The Missing Library
On Thu, 2004-04-29 at 00:02, Nicolas Cannasse wrote:
> > On Wed, 2004-04-28 at 22:36, Nicolas Cannasse wrote:

> Such comparison  tail = end , is also well fitted for the C++ world, where
> in general NULL is the end of everything, and operator overloading helps
> here a lot. Just one question : what is the excepted behavior of equality
> between two iterators coming from two different data structures 

They have distinct types so: compile time error.
[I assume you mean for example a list and an array]

>  What about equality between two
> iterators over two different dynamic arrays ? 

I think from memory, equality must work. 
However, less (<) operator is undefined.

> Please state clearly your problems on the ExtLib mailling list, I will be
> happy to think about theses :)

I already did quite extensively.. :)

John Skaller, mailto:skaller@users.sf.net
voice: 061-2-9660-0850, 
snail: PO BOX 401 Glebe NSW 2037 Australia
Checkout the Felix programming language http://felix.sf.net

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