unofficial mirror of bug-guile@gnu.org 
 help / color / mirror / Atom feed
From: "Neil Jerram" <neiljerram@googlemail.com>
To: "Marijn Schouten (hkBst)" <hkBst@gentoo.org>
Cc: Bill Schottstaedt <bil@ccrma.stanford.edu>, bug-guile@gnu.org
Subject: Re: begin oddities
Date: Thu, 25 Sep 2008 23:30:38 +0200	[thread overview]
Message-ID: <49dd78620809251430k440166aaof45c5b2740c913df@mail.gmail.com> (raw)
In-Reply-To: <48DAD34F.7000508@gentoo.org>

2008/9/25 Marijn Schouten (hkBst) <hkBst@gentoo.org>:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Bill Schottstaedt wrote:
>> Is this a bug?

No.  See the R5RS formal syntax.  Different things are allowed for
(begin ...) at top level and (begin ...) inside a definition.

> Weird thing is it seems to have no problem with
> (let ((f (lambda () (define x 0) (+ x 1)))) (f))

Right, because there's no begin there.

Regards,
      Neil




  reply	other threads:[~2008-09-25 21:30 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-09-24 13:32 begin oddities Bill Schottstaedt
2008-09-24 23:54 ` Marijn Schouten (hkBst)
2008-09-25 21:30   ` Neil Jerram [this message]
2008-09-25 22:14     ` Bill Schottstaedt
2008-09-25 22:16     ` Bill Schottstaedt
2008-09-25 22:24       ` Neil Jerram
2008-09-25 22:40         ` Bill Schottstaedt
2008-09-25 22:56         ` Bill Schottstaedt
2008-09-25 23:12         ` Bill Schottstaedt

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=49dd78620809251430k440166aaof45c5b2740c913df@mail.gmail.com \
    --to=neiljerram@googlemail.com \
    --cc=bil@ccrma.stanford.edu \
    --cc=bug-guile@gnu.org \
    --cc=hkBst@gentoo.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).