From: Matt Wette <matt.wette@gmail.com>
To: 17940@debbugs.gnu.org
Subject: bug#17940: (begin)
Date: Fri, 13 Mar 2020 06:08:01 -0700 [thread overview]
Message-ID: <5faf157c-da68-a596-0c0b-d12eba339dcf@gmail.com> (raw)
In-Reply-To: <87zjgoda0n.fsf@taylan.uni.cx>
I have run into this also, in writing macros.
My workaround is to always add (if #f #f)
in my forms that allow no expressions in the body.
See second-to-last line below.
(define-syntax sx-match-1
(syntax-rules ()
((_ v (pat exp ...) c1 ...)
(let ((kf (lambda () (sx-match-1 v c1 ...))))
(sxm-sexp v pat (begin (if #f #f) exp ...) (kf))))
((_ v) (error "sx-match: nothing matches"))))
prev parent reply other threads:[~2020-03-13 13:08 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-07-04 22:39 bug#17940: Nitpick: (lambda () (begin)) errors Taylan Ulrich Bayirli/Kammer
2020-03-13 13:08 ` Matt Wette [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=5faf157c-da68-a596-0c0b-d12eba339dcf@gmail.com \
--to=matt.wette@gmail.com \
--cc=17940@debbugs.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.
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).