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

specializer-direct-xxx generic functions



re: One symptom of their failing: we can create lexically scoped generic 
    function definitions, but we can't create lexically-scoped class 
    definitions.

Of course, this is not limited to CLASS definitions; a common thread of
complaint form the Lucid user community is the inability to make
lexically-scoped (and hence stack-allocated) defstruct definitions.  

And in a sense, the continual call for "stack-allocated" LISTs and 
ARRAYs begs for additional functionality in the language to express
dynamic-extent data.

As I recall, the presence of GFLET, GFLABELS, and GFUNCTION was pushed
primarily to keep the analogy between "generic" functions and ordinary
functions as close as possible; it was not pushed out of a sense of
fanatical lexicalism.



-- JonL --