Version française
Home     About     Download     Resources     Contact us    
Browse thread
[Caml-list] List.sort
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: sebastien FURIC <sebastien.furic@t...>
Subject: Re: [Caml-list] List.sort


Henri Dubois-Ferriere a écrit :

 <snip>

> > # compare 'a' 'b';;
> > - : int = -1
> > #
> > ---------------------
> 
> same argument as for the first case: (compare 'a' 'b') is a char, not a
                                                            ^^^^^^
> function.

 You meant an int, of course!

 Cheers,

 Sebastien.
-------------------
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