emacs-devel
[Top][All Lists]
Advanced

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

Re: User-reserved element in byte code vectors


From: Richard Stallman
Subject: Re: User-reserved element in byte code vectors
Date: Thu, 06 May 2004 07:48:58 -0400

    > So for example:
    > 
    >    (curry '+ 1 2 3)
    >    => #[curry + 1 2 3]

    BTW, some other advantage of such a representation --

      * Having a name explicitly attached make it easier to see what it is,
        even if you've never encountered such a thing before, the "#[" tells
        you `hey it's connected with the lisp evaluator', and the
        first-element name gives you strong clue to determine just exactly
        what.

      * It leaves a clear path for other special magic-callable objects.
        E.g., another very useful notion is that of `reverse currying',
        where the curried arguments get attached to the _end_ of the
        argument list at call time, which could look like #[rcurry ...].

This seems like a good idea to me.




reply via email to

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