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 OAA31925; Mon, 16 Sep 2002 14:19:15 +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 OAA31745 for ; Mon, 16 Sep 2002 14:19:13 +0200 (MET DST) Received: from pelops.inria.fr (pelops.inria.fr [128.93.24.69]) by concorde.inria.fr (8.11.1/8.11.1) with ESMTP id g8GCJC109269; Mon, 16 Sep 2002 14:19:12 +0200 (MET DST) Received: from pelops.inria.fr (localhost [127.0.0.1]) by pelops.inria.fr (8.11.1/8.11.1) with ESMTP id g8GCJ6c31138; Mon, 16 Sep 2002 14:19:06 +0200 Message-Id: <200209161219.g8GCJ6c31138@pelops.inria.fr> X-Mailer: exmh version 2.1.1 10/15/1999 To: Quetzalcoatl Bradley cc: caml-list@inria.fr, thomasse@whisky.inria.fr Subject: Re: [Caml-list] function polymorphic in number of arguments? In-Reply-To: Message from Quetzalcoatl Bradley of "Sun, 15 Sep 2002 20:44:19 PDT." <94F2CE6A-C926-11D6-828F-0030657680C6@blackfen.com> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Mime-Version: 1.0 Content-Transfer-Encoding: 8bit Date: Mon, 16 Sep 2002 14:19:06 +0200 From: Francois Thomasset Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk > Is it possible to make a function of N arguments (3 or more), the first > two are functions of N-2 arguments, and the function calls the first > two functions passing its remaining arguments to each of the first two > functions. Whar about this one : let f a b = let g x = a x; b x in g;; François Thomasset ------------------- To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/ Beginner's list: http://groups.yahoo.com/group/ocaml_beginners