unofficial mirror of bug-guile@gnu.org 
 help / color / mirror / Atom feed
From: Andy Wingo <wingo@pobox.com>
To: ebuy <rtfds@online.de>
Cc: bug-guile@gnu.org
Subject: Re: typo/bug in guile-bf08e10/doc/ref/api-control.texi
Date: Sat, 04 Sep 2010 10:02:40 -0700	[thread overview]
Message-ID: <m362ylmogf.fsf@unquote.localdomain> (raw)
In-Reply-To: <1283550428.7803.20.camel@melody> (ebuy's message of "Fri, 03 Sep 2010 23:47:08 +0200")

Hi,

On Fri 03 Sep 2010 14:47, ebuy <rtfds@online.de> 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/



      reply	other threads:[~2010-09-04 17:02 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-09-03 21:47 typo/bug in guile-bf08e10/doc/ref/api-control.texi ebuy
2010-09-04 17:02 ` Andy Wingo [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/guile/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=m362ylmogf.fsf@unquote.localdomain \
    --to=wingo@pobox.com \
    --cc=bug-guile@gnu.org \
    --cc=rtfds@online.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).