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 PAA16875; Thu, 2 Aug 2001 15:41:23 +0200 (MET DST) X-Authentication-Warning: pauillac.inria.fr: majordomo set sender to owner-caml-list@pauillac.inria.fr using -f Received: from concorde.inria.fr (concorde.inria.fr [192.93.2.39]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id PAA16871 for ; Thu, 2 Aug 2001 15:41:22 +0200 (MET DST) Received: from mrwall.kal.com (mrwall.kal.com [194.193.14.236]) by concorde.inria.fr (8.11.1/8.10.0) with SMTP id f72DfLX24132 for ; Thu, 2 Aug 2001 15:41:21 +0200 (MET DST) Received: from mrwall.kal.com [194.193.14.236] (HELO localhost) by mrwall.kal.com (AltaVista Mail V2.0J/2.0J BL25J listener) id 0000_002b_3b69_5916_278d; Thu, 02 Aug 2001 14:43:50 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Subject: RE: [Caml-list] Please help a newbie content-class: urn:content-classes:message X-MimeOLE: Produced By Microsoft Exchange V6.0.4417.0 Date: Thu, 2 Aug 2001 14:37:20 +0100 Message-ID: <8E31D6933A2FE64F8AE3CC1381EEDCE70B3194@NT.kal.com> Thread-Topic: [Caml-list] Please help a newbie Thread-Index: AcEbVAszg/veRUMiTwSxRZRH44W31AABNkgQ From: "Dave Berry" To: "ocaml mailing list" Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk 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 =3D function > [] -> [] > | h :: t -> wys_dit h :: wys_die_lys l t;; > val wys_die_lys : 'a -> string list -> unit list =3D ------------------- 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