[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] Fix (letrec ((ignore)))
From: |
John Wiegley |
Subject: |
Re: [PATCH] Fix (letrec ((ignore))) |
Date: |
Mon, 14 Dec 2015 10:23:38 -0800 |
User-agent: |
Gnus/5.130014 (Ma Gnus v0.14) Emacs/24.5 (darwin) |
>>>>> Alan Mackenzie <address@hidden> writes:
> Just as a matter of interest,
> (let ((foo) ... ) ...)
> is accepted by the interpreter and byte compiler, binding foo to nil.
In the spirit of our recent clarifications, I think it should also be made an
error, rather than an implicit binding to nil.
I have a feeling there are still many more places where this behavior exists,
and we are just beginning to scratch the surface. For example:
(dolist ((i)) (message "Hello"))
Is also accepted as a "do nothing" block, when it should give an error about a
missing value.
--
John Wiegley GPG fingerprint = 4710 CF98 AF9B 327B B80F
http://newartisans.com 60E1 46C4 BD1A 7AC1 4BA2
signature.asc
Description: PGP signature
- [PATCH] Fix (letrec ((ignore))), Zack Piper, 2015/12/11
- Re: [PATCH] Fix (letrec ((ignore))), Kaushal Modi, 2015/12/11
- Re: [PATCH] Fix (letrec ((ignore))), John Wiegley, 2015/12/12
- Re: [PATCH] Fix (letrec ((ignore))), Kyle Meyer, 2015/12/12
- Re: [PATCH] Fix (letrec ((ignore))), Alan Mackenzie, 2015/12/13
- RE: [PATCH] Fix (letrec ((ignore))), Drew Adams, 2015/12/13
- RE: [PATCH] Fix (letrec ((ignore))), Kaushal Modi, 2015/12/13
- RE: [PATCH] Fix (letrec ((ignore))), Drew Adams, 2015/12/13
- Re: [PATCH] Fix (letrec ((ignore))),
John Wiegley <=
- Re: [PATCH] Fix (letrec ((ignore))), Alan Mackenzie, 2015/12/14
- Re: [PATCH] Fix (letrec ((ignore))), John Wiegley, 2015/12/14
- Re: [PATCH] Fix (letrec ((ignore))), David Kastrup, 2015/12/14
- Re: [PATCH] Fix (letrec ((ignore))), John Wiegley, 2015/12/14
- Re: [PATCH] Fix (letrec ((ignore))), Alan Mackenzie, 2015/12/15