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 JAA03619; Tue, 17 Dec 2002 09:13:09 +0100 (MET) X-Authentication-Warning: pauillac.inria.fr: majordomo set sender to owner-caml-list@pauillac.inria.fr using -f Received: from nez-perce.inria.fr (nez-perce.inria.fr [192.93.2.78]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id JAA03608 for ; Tue, 17 Dec 2002 09:13:08 +0100 (MET) Received: from wetware.wetware.com (wetware.wetware.com [199.108.16.1]) by nez-perce.inria.fr (8.11.1/8.11.1) with ESMTP id gBH8D7n05072 for ; Tue, 17 Dec 2002 09:13:07 +0100 (MET) Received: from wetware.com([208.177.152.19]) (1999 bytes) by wetware.wetware.com via sendmail with P:esmtp/R:bind_hosts/T:inet_zone_bind_smtp (sender: ) id for ; Tue, 17 Dec 2002 00:13:06 -0800 (PST) (Smail-3.2.0.114 2001-Aug-6 #1 built 2002-Sep-2) Date: Tue, 17 Dec 2002 00:13:16 -0800 Subject: Re: [Caml-list] Re: Continuations Content-Type: text/plain; charset=ISO-8859-1; format=flowed Mime-Version: 1.0 (Apple Message framework v548) From: james woodyatt To: The Trade Content-Transfer-Encoding: quoted-printable In-Reply-To: Message-Id: <64F96593-1197-11D7-ABF0-000393BA7EBA@wetware.com> X-Mailer: Apple Mail (2.548) Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk On Monday, Dec 16, 2002, at 05:36 US/Pacific, Diego Olivier Fernandez=20 Pons wrote: > "Micha=EBl Gr=FCnewald" wrote: >> >> [continuations] Are not they possible ? If I remember well (I did >> not check it back), the following sample do what is called >> `Programming with rupture and continuation' (I learned it from J. >> Chazarin "Programmer avec Scheme"). > > [...] Philip Wadler a =E9crit un certain nombre d'articles sur les=20 > rapports > entre continuations et monades. Enfin, si j'ai bonne m=E9moire = Benjamin > C. Pierce a post=E9 dans la liste Caml il y a quelque temps une s=E9rie= > de liens en rapport avec les continuations. Another paper that I found exceedingly helpful in this regard is this=20 one: Of course, all the code in that paper is written in some Haskell=20 variant that I can't identify with complete accuracy. But scroll down=20= to the section about the continuation monad, and then watch how it can=20= be used as the basis of more complicated monads. I've found that equivalent code in Ocaml is not terribly difficult to=20 write. It does tend to make you wish for something to let you define=20 overloaded operators, but you can get by fine without. --=20 j h woodyatt markets are only free to the people who own them.= ------------------- 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