unofficial mirror of guile-devel@gnu.org 
 help / color / mirror / Atom feed
From: Ken Raeburn <raeburn@raeburn.org>
To: Andy Wingo <wingo@pobox.com>
Cc: Michael Lucy <MichaelGLucy@Gmail.com>, guile-devel@gnu.org
Subject: Re: expression
Date: Thu, 24 Jun 2010 10:40:20 -0400	[thread overview]
Message-ID: <023ACD38-01C2-431D-808A-090ECAF22BA2@raeburn.org> (raw)
In-Reply-To: <m3lja47fbn.fsf@pobox.com>

On Jun 24, 2010, at 09:03, Andy Wingo wrote:
> 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.

Ah, right... so my example was presumably in definition context, so having no additional forms was okay, but Michael's use is probably expression context, where it wouldn't, making my suggestion no good... good to know. :-)  Thanks for the correction.

And "*unspecified*" references are optimized by the compiler now?  Great!  Then "No Itisnt"'s suggestion looks like the right way to go after all...

Ken


      reply	other threads:[~2010-06-24 14:40 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   ` expression Andy Wingo
2010-06-24 14:40     ` Ken Raeburn [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=023ACD38-01C2-431D-808A-090ECAF22BA2@raeburn.org \
    --to=raeburn@raeburn.org \
    --cc=MichaelGLucy@Gmail.com \
    --cc=guile-devel@gnu.org \
    --cc=wingo@pobox.com \
    /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).