unofficial mirror of guile-devel@gnu.org 
 help / color / mirror / Atom feed
From: Andy Wingo <wingo@pobox.com>
To: Ken Raeburn <raeburn@raeburn.org>
Cc: Michael Lucy <MichaelGLucy@Gmail.com>, guile-devel@gnu.org
Subject: Re: expression
Date: Thu, 24 Jun 2010 15:03:40 +0200	[thread overview]
Message-ID: <m3lja47fbn.fsf@pobox.com> (raw)
In-Reply-To: <867048CD-FB59-4D61-A944-03E4BE4D2960@raeburn.org> (Ken Raeburn's message of "Thu, 24 Jun 2010 02:55:59 -0400")

On Thu 24 Jun 2010 08:55, Ken Raeburn <raeburn@raeburn.org> writes:

> Hmm... here's another way, though I've no idea if RnRS lets you not have
> any expressions in here:
>
> scheme@(guile-user)> ,c (begin)

There are actually two kinds of begin: one in definition context and one
in expression context. The former takes 0 or more forms, and splices
those forms into the input, where the (begin ...) appears. The other
takes 1 or more expressions, and evaluates those expression in order,
returning the value of the last.

Andy
-- 
http://wingolog.org/



  parent reply	other threads:[~2010-06-24 13:03 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-06-23 21:09 expression Michael Lucy
2010-06-23 23:14 ` expression No Itisnt
2010-06-23 23:23   ` expression Michael Lucy
2010-06-24 13:01     ` expression Andy Wingo
2010-06-24  6:55 ` expression Ken Raeburn
2010-06-24  7:27   ` expression Thien-Thi Nguyen
2010-06-24  7:52   ` expression Michael Lucy
2010-06-24 13:05     ` expression Andy Wingo
2010-06-24 13:03   ` Andy Wingo [this message]
2010-06-24 14:40     ` expression Ken Raeburn

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=m3lja47fbn.fsf@pobox.com \
    --to=wingo@pobox.com \
    --cc=MichaelGLucy@Gmail.com \
    --cc=guile-devel@gnu.org \
    --cc=raeburn@raeburn.org \
    /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).