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 FAA12225; Thu, 4 Apr 2002 05:04:32 +0200 (MET DST) 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 FAA09383 for ; Thu, 4 Apr 2002 05:04:30 +0200 (MET DST) Received: from venus.is.s.u-tokyo.ac.jp (venus.is.s.u-tokyo.ac.jp [133.11.12.9]) by nez-perce.inria.fr (8.11.1/8.11.1) with ESMTP id g3434SD04617 for ; Thu, 4 Apr 2002 05:04:28 +0200 (MET DST) Received: from localhost (tuba.is.s.u-tokyo.ac.jp [133.11.12.102]) by venus.is.s.u-tokyo.ac.jp (8.11.6/3.7W) with ESMTP id g3434Hj15818; Thu, 4 Apr 2002 12:04:17 +0900 (JST) To: bcpierce@cis.upenn.edu Cc: caml-list@pauillac.inria.fr From: eijiro_sumii@anet.ne.jp cc: sumii@yl.is.s.u-tokyo.ac.jp Subject: Re: [Caml-list] Continuations tutorial/examples in OCaml In-Reply-To: <10654.1017880729@saul.cis.upenn.edu> References: <10654.1017880729@saul.cis.upenn.edu> X-Mailer: Mew version 1.94.2 on Emacs 20.7 / Mule 4.0 (HANANOEN) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-Id: <20020404120417H.sumii@tuba.is.s.u-tokyo.ac.jp> Date: Thu, 04 Apr 2002 12:04:17 +0900 X-Dispatcher: imput version 20000228(IM140) Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk From: "Benjamin C. Pierce" > I've been discussing programming idioms based on continuations with some > students, and I'd like to find a nice tutorial or compendium of examples > illustrating some of the useful and mind-bending things that can be done. The following paper includes a nice application of CPS to backtracking in regular expression matching. It is implemented in (Standard) ML, of course! Robert Harper. Functional Pearl: Proof-directed debugging. Journal of Functional Programming, 9(4):463-469, July 1999. Also in Proceedings of the Workshop on Functional and Declarative Programming in Education, 1999. -- Eijiro Sumii (http://www.yl.is.s.u-tokyo.ac.jp/~sumii/) Research Associate of Yonezawa Laboratory, University of Tokyo ------------------- 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