emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: lexical mumblings


From: Stefan Monnier
Subject: Re: lexical mumblings
Date: Sun, 21 Oct 2001 16:12:21 -0400

> An addendum to my previous message:
> 
> I didn't say what `make-closure' should actually do, but since a closure
> is just a funcall-able package holding a function and an environment,
> and since I've suggested that the function-part of a closure should take
> the environment pointer as its first argument (before the user
> arguments), a nice solution might be to make normal vectors callable if
> their first element is a function, such that --
> 
>    (funcall (vector F a b c) x y z) == (funcall F a b c x y z)

I'm not sure this is a good idea.  It means that (functionp (vector 1))
should now return t instead of nil which might break some code.


        Stefan




reply via email to

[Prev in Thread] Current Thread [Next in Thread]