From: "Dave Berry" <Dave@kal.com>
To: "ocaml mailing list" <caml-list@inria.fr>
Subject: RE: [Caml-list] Please help a newbie
Date: Thu, 2 Aug 2001 14:37:20 +0100 [thread overview]
Message-ID: <8E31D6933A2FE64F8AE3CC1381EEDCE70B3194@NT.kal.com> (raw)
For the language designers on the list: This is an example of why
curried notation is a bad idea. If the function were written using
tuples, Johann would have been less likely to make this mistake, and if
he had, the compiler could have given a message that was easier to
understand.
-----Original Message-----
> # let rec wys_die_lys l = function
> [] -> []
> | h :: t -> wys_dit h :: wys_die_lys l t;;
> val wys_die_lys : 'a -> string list -> unit list = <fun>
-------------------
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
next reply other threads:[~2001-08-02 13:41 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-08-02 13:37 Dave Berry [this message]
2001-08-02 16:08 ` Brian Rogoff
2001-08-02 13:42 Johann Spies
2001-08-02 12:54 ` Frank Atanassow
2001-08-02 13:01 ` Francois Thomasset
2001-08-02 13:25 ` Francois Thomasset
2001-08-02 13:05 ` Sven
2001-08-03 10:58 Johann Spies
2001-08-03 18:23 ` [Caml-list] Please help a newbie md5i
2001-08-05 21:37 ` John Max Skaller
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=8E31D6933A2FE64F8AE3CC1381EEDCE70B3194@NT.kal.com \
--to=dave@kal.com \
--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