Version française
Home     About     Download     Resources     Contact us    

This site is updated infrequently. For up-to-date information, please visit the new OCaml website at

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: 2006-02-04 (12:36)
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,                   (o_
 Thomas Fischbacher -  //\
(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)