Browse thread
[Caml-list] Test release Objective Caml 3.03 Alpha
[
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: | 2001-10-15 (14:12) |
From: | md5i@c... |
Subject: | Re: [Caml-list] Test release Objective Caml 3.03 Alpha |
Just wanted to note that in http://caml.inria.fr/ocaml/alpha/htmlman/manual005.html, you have an example problem in Section 4.2: #List.map ~f [`On; `Off];; Expecting function has type 'a list -> 'b list This argument cannot be applied with label ~f I think you want this to either be: # ListLabels.map ~f [`On; `Off];; - : int list = [1; 0] or # List.map f [`On; `Off];; - : int list = [1; 0] -- Michael Welsh Duggan (md5i@cs.cmu.edu) ------------------- 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