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 SAA06597; Thu, 17 Oct 2002 18:55:19 +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 SAA05675 for ; Thu, 17 Oct 2002 18:55:18 +0200 (MET DST) Received: from verdot.inria.fr (verdot.inria.fr [128.93.11.7]) by concorde.inria.fr (8.11.1/8.11.1) with ESMTP id g9HGtH514633 for ; Thu, 17 Oct 2002 18:55:17 +0200 (MET DST) Received: (from ddr@localhost) by verdot.inria.fr (8.9.3/8.9.3) id SAA06680 for caml-list@inria.fr; Thu, 17 Oct 2002 18:55:17 +0200 Date: Thu, 17 Oct 2002 18:55:17 +0200 From: Daniel de Rauglaudre To: caml-list@inria.fr Subject: Re: [Caml-list] a quick question on camlp4 Message-ID: <20021017185517.H32600@verdot.inria.fr> References: <20021017160837.GA29662@cs.unibo.it> <20021017182242.A30465@ouessant.trusted-logic.fr> <20021017182648.G32600@verdot.inria.fr> <20021017.092831.59477872.avv@quasar.ipa.nw.ru> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20021017.092831.59477872.avv@quasar.ipa.nw.ru>; from avv@quasar.ipa.nw.ru on Thu, Oct 17, 2002 at 09:28:31AM -0700 Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk Hi, On Thu, Oct 17, 2002 at 09:28:31AM -0700, Alexander V.Voinov wrote: > Is it possible to eliminate the keyword 'function' from this, > that is to implement an extension like: > > iterate with -> | -> ... Not a problem to keep 'function' since it is already a keyword in OCaml (normal syntax). > I'm asking this just because I don't have time now to investigate > this by my own :-). What do you ask, exactly? Since you implemented your "iterate" extension, I suppose that you know how to use Camlp4. What is the difficulty to implement your "fold"? -- Daniel de RAUGLAUDRE daniel.de_rauglaudre@inria.fr http://cristal.inria.fr/~ddr/ ------------------- 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