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 VAA08670; Fri, 30 May 2003 21:27:26 +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 VAA08657 for ; Fri, 30 May 2003 21:27:25 +0200 (MET DST) Received: from swordfish ([216.241.35.41]) by concorde.inria.fr (8.11.1/8.11.1) with ESMTP id h4UJROH26877 for ; Fri, 30 May 2003 21:27:24 +0200 (MET DST) Received: from matt by swordfish with local (Exim 3.35 #1 (Debian)) id 19LpX9-0000ua-00 for ; Fri, 30 May 2003 13:27:23 -0600 Date: Fri, 30 May 2003 13:27:23 -0600 From: Matt Gushee To: caml-list@pauillac.inria.fr Subject: Re: [Caml-list] Good examples for a Camlp4 beginner? Message-ID: <20030530192722.GD2087@swordfish> Reply-To: Matt Gushee Mail-Followup-To: caml-list@pauillac.inria.fr References: <20030530185206.GC2087@swordfish> <3ED7AD61.7020103@quasar.ipa.nw.ru> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3ED7AD61.7020103@quasar.ipa.nw.ru> User-Agent: Mutt/1.3.27i X-Spam: no; 0.00; gushee:01 mgushee:01 havenrock:01 caml-list:01 camlp:01 voinov:01 analogs:01 python's:01 englewood:01 manure:01 ignores:01 --lao:01 merel:01 0700,:01 alexander:01 Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk On Fri, May 30, 2003 at 12:13:37PM -0700, Alexander V. Voinov wrote: > > See a simple extension, which adds some sugar on top of the List module > functionality. My purpose in this case was to give close analogs to > Python's loops over sequences (e.g. lists), to facilitate transition. An > example is attached as well. Yes, that's the kind of thing I'm looking for. Thanks! -- Matt Gushee When a nation follows the Way, Englewood, Colorado, USA Horses bear manure through mgushee@havenrock.com its fields; http://www.havenrock.com/ When a nation ignores the Way, Horses bear soldiers through its streets. --Lao Tzu (Peter Merel, trans.) ------------------- 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