* ocaml continuations
@ 2006-02-04 10:40 Brendan Miller
2006-02-04 12:36 ` [Caml-list] " Thomas Fischbacher
0 siblings, 1 reply; 2+ messages in thread
From: Brendan Miller @ 2006-02-04 10:40 UTC (permalink / raw)
To: caml-list
I've heard that ocaml supports continuations through something called
monads. is this documented somewhere? are they as flexible as say
scheme continuations?
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [Caml-list] ocaml continuations
2006-02-04 10:40 ocaml continuations Brendan Miller
@ 2006-02-04 12:36 ` Thomas Fischbacher
0 siblings, 0 replies; 2+ messages in thread
From: Thomas Fischbacher @ 2006-02-04 12:36 UTC (permalink / raw)
To: Brendan Miller; +Cc: caml-list
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)
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2006-02-04 12:36 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-02-04 10:40 ocaml continuations Brendan Miller
2006-02-04 12:36 ` [Caml-list] " Thomas Fischbacher
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox