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

Re: Issue: LET-TOP-LEVEL (version 1)

    re:     ...  so that anything said about "anonymous lambdas" should also
            be equally applicable to "defun"'s.
        The relevant sentence is on page 67: "Other implementation-dependent
        bookkeeping actions may be taken as well by DEFUN."
    I don't believe that the sentence about "Other
    implementation-dependent ..."  negates the understanding of DEFUN
    as basically a rewrite to
            (setf (symbol-function 'foo) #'(lambda (x y ...) ...))
    If anything needs "clarifying" around this topic, perhaps it
    should be just that.  In particular, the sorts of things I imagine
    would legitimately fall into "Other implementation-dependent ..."
    are items like hooks for cross-referencing programs, file-indexing
    programs, extensions the normal error-signalling upon redefinition
    (to facilitate "patch" files etc).

I have no argument about "the essence of DEFUN", my point was that the
potential existence of this sort of bookkeeping activity prevents me
simply defining my own macro which expands to SETF of SYMBOL-FUNCTION
and using it instead of DEFUN.  A couple of people seriously proposed
that alternative in the common-lisp discussion on this topic last