[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: typo/bug in guile-bf08e10/doc/ref/api-control.texi
From: |
Andy Wingo |
Subject: |
Re: typo/bug in guile-bf08e10/doc/ref/api-control.texi |
Date: |
Sat, 04 Sep 2010 10:02:40 -0700 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux) |
Hi,
On Fri 03 Sep 2010 14:47, ebuy <address@hidden> writes:
> consider the order "(PROC CONT)" in the documentation of the procedure
>
> "call-with-current-continuation"
>
> Shouldn't that be transposed? "(CONT PROC)" ?
Nope! The point is to reify the continuation as a *value*; thus it is
passed as a value to the procedure.
(call/cc foo) = (foo CONT)
Have fun with Guile,
Andy
--
http://wingolog.org/