[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Lars Magne Ingebrigtsen
Fri, 26 Nov 2010 10:36:51 +0100
Gnus/5.110011 (No Gnus v0.11) Emacs/24.0.50 (gnu/linux)
Miles Bader <address@hidden> writes:
> Doesn't every defun in CL establish a nil block?
No, it establishes a named block, so you can say
(defun foo ()
Which is kinda annoying, in my opinion. Especially if you have long
function names and a lot of return-from forms. Or you rename function
But that's also an option if we think it's better not to confuse Common
> Of course one question is: what about returns out of lambdas?
> Would/should they be supported, given that they need an entirely
> different mechanism internally?
Hm... I haven't thought much about that, but my immediate feeling is
that a syntactically clearer return functionality isn't as necessary in
lambda forms as in defuns. Lambda forms are (in practise) quite short
and sweet, in my experience.
(domestic pets only, the antidote for overdose, milk.)
address@hidden * Lars Magne Ingebrigtsen
- return, Lars Magne Ingebrigtsen, 2010/11/26
- Re: return, Stefan Monnier, 2010/11/26