From: Stefan Monnier <monnier@IRO.UMontreal.CA>
To: Daniel Colascione <dancol@dancol.org>
Cc: emacs-devel@gnu.org
Subject: Re: [Emacs-diffs] master f6b5db6: Add support for generators
Date: Wed, 04 Mar 2015 20:06:11 -0500 [thread overview]
Message-ID: <jwv1tl45k4z.fsf-monnier+emacsdiffs@gnu.org> (raw)
In-Reply-To: <54F78FCC.4020500@dancol.org> (Daniel Colascione's message of "Wed, 04 Mar 2015 15:05:48 -0800")
> It does work, though. It's analogous to (progn), (and), and (or), which
> evolve to nil, nil, and t, respectively. Common Lisp also works fine
> with empty function bodies. We shouldn't make empty functions work
> everywhere except this one context.
Feel free to fix macroexp-parse-body accordingly. I don't think it's
worth my time, but I won't oppose a patch for it (of course, it still
should correctly handle the case of (defun foo () "toto")).
Stefan
next prev parent reply other threads:[~2015-03-05 1:06 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <20150302234252.19883.48595@vcs.savannah.gnu.org>
[not found] ` <E1YSZzA-0005BJ-Li@vcs.savannah.gnu.org>
2015-03-03 18:05 ` [Emacs-diffs] master f6b5db6: Add support for generators Stefan Monnier
2015-03-03 18:20 ` Daniel Colascione
2015-03-03 19:35 ` Stefan Monnier
2015-03-03 21:03 ` Daniel Colascione
2015-03-03 21:06 ` Daniel Colascione
2015-03-04 4:52 ` Stefan Monnier
2015-03-04 5:34 ` Daniel Colascione
2015-03-04 23:02 ` Stefan Monnier
2015-03-04 23:05 ` Daniel Colascione
2015-03-05 1:06 ` Stefan Monnier [this message]
2015-03-04 4:51 ` Stefan Monnier
2015-03-03 19:51 ` Artur Malabarba
2015-03-05 0:01 ` Michael Heerdegen
2015-03-21 5:52 ` Michael Heerdegen
2015-03-21 13:19 ` Stefan Monnier
2015-03-25 13:09 ` Michael Heerdegen
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/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=jwv1tl45k4z.fsf-monnier+emacsdiffs@gnu.org \
--to=monnier@iro.umontreal.ca \
--cc=dancol@dancol.org \
--cc=emacs-devel@gnu.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.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
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).