Version française
Home     About     Download     Resources     Contact us    
Browse thread
ocaml continuations
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Thomas Fischbacher <Thomas.Fischbacher@P...>
Subject: Re: [Caml-list] ocaml continuations

On Sat, 4 Feb 2006, Brendan Miller wrote:

> I've heard that ocaml supports continuations through something called
> monads.

This is just an elegant way of saying that actually, OCaml does not 
support continuations.

Whatever you can do to get Continuations via Monads in OCaml, you could do 
just the same way in, say, even Perl.

-- 
regards,               tf@cip.physik.uni-muenchen.de              (o_
 Thomas Fischbacher -  http://www.cip.physik.uni-muenchen.de/~tf  //\
(lambda (n) ((lambda (p q r) (p p q r)) (lambda (g x y)           V_/_
(if (= x 0) y (g g (- x 1) (* x y)))) n 1))                  (Debian GNU)