From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (from majordomo@localhost) by pauillac.inria.fr (8.7.6/8.7.3) id QAA07865; Mon, 15 Oct 2001 16:12:29 +0200 (MET DST) X-Authentication-Warning: pauillac.inria.fr: majordomo set sender to owner-caml-list@pauillac.inria.fr using -f Received: from nez-perce.inria.fr (nez-perce.inria.fr [192.93.2.78]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id QAA07776 for ; Mon, 15 Oct 2001 16:12:28 +0200 (MET DST) Received: from miyazima.lti.cs.cmu.edu (MIYAZIMA.LTI.CS.CMU.EDU [128.2.178.242]) by nez-perce.inria.fr (8.11.1/8.10.0) with SMTP id f9FECRf07632 for ; Mon, 15 Oct 2001 16:12:27 +0200 (MET DST) To: Caml-list Subject: Re: [Caml-list] Test release Objective Caml 3.03 Alpha References: <20011012150027.A16644@pauillac.inria.fr> From: md5i@cs.cmu.edu Date: Mon, 15 Oct 2001 10:12:01 -0400 In-Reply-To: <20011012150027.A16644@pauillac.inria.fr> (Xavier Leroy's message of "Fri, 12 Oct 2001 15:00:27 +0200") Message-ID: User-Agent: Gnus/5.090004 (Oort Gnus v0.04) Emacs/21.0.106 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Source-Info: Sender is really md5i+@miyazima.lti.cs.cmu.edu Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk 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