From: md5i@cs.cmu.edu
To: Caml-list <caml-list@inria.fr>
Subject: Re: [Caml-list] Test release Objective Caml 3.03 Alpha
Date: Mon, 15 Oct 2001 10:12:01 -0400 [thread overview]
Message-ID: <v1tbsj9j8lq.fsf@miyazima.lti.cs.cmu.edu> (raw)
In-Reply-To: <20011012150027.A16644@pauillac.inria.fr> (Xavier Leroy's message of "Fri, 12 Oct 2001 15:00:27 +0200")
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
prev parent reply other threads:[~2001-10-15 14:12 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-10-12 13:00 Xavier Leroy
2001-10-12 17:39 ` Christophe TROESTLER
2001-10-12 18:55 ` Daniel de Rauglaudre
2001-10-14 18:08 ` Christophe TROESTLER
2001-10-14 18:27 ` Daniel de Rauglaudre
2001-10-14 18:14 ` Christophe TROESTLER
2001-10-12 18:14 ` Ceri Storey
2001-10-15 14:12 ` md5i [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=v1tbsj9j8lq.fsf@miyazima.lti.cs.cmu.edu \
--to=md5i@cs.cmu.edu \
--cc=caml-list@inria.fr \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox