Hi all,
You'll find a small patch attached which adds some PRINT-OBJECTs for more descriptive results at the REPL; for example objects representing lambda-lists will be printed like
#<ORDINARY-LAMBDA-LIST (R1 R2 R3 &OPTIONAL O1 O2 &KEY K1 ...) {ACC8261}>
instead of
#<ORDINARY-LAMBDA-LIST {ACC8261}>
I'm thinking of splitting out, and extending the lambda-list stuff into a standalone library. Now I wonder why all the lambda-list relevant classes only define reader methods for their slots. Is there some intentional purpose behind this functional design, or is it just this way because of KISS and YAGNI?
-T.
"Tobias C. Rittweiler" tcr@freebits.de writes:
Hi all,
You'll find a small patch attached which adds some PRINT-OBJECTs for more descriptive results at the REPL; for example objects representing lambda-lists will be printed like
Thank you, committed.
I'm thinking of splitting out, and extending the lambda-list stuff into a standalone library. Now I wonder why all the lambda-list relevant classes only define reader methods for their slots. Is there some intentional purpose behind this functional design, or is it just this way because of KISS and YAGNI?
I like immutable data structures for this kind of stuff. The lambda list frobbing interface is loosely based on CL pathnames.
Troels Henriksen athas@sigkill.dk writes:
"Tobias C. Rittweiler" tcr@freebits.de writes:
I'm thinking of splitting out, and extending the lambda-list stuff into a standalone library. Now I wonder why all the lambda-list relevant classes only define reader methods for their slots. Is there some intentional purpose behind this functional design, or is it just this way because of KISS and YAGNI?
I like immutable data structures for this kind of stuff. The lambda list frobbing interface is loosely based on CL pathnames.
How can you currently rename a parameter in a lambda-list?
-T.
"Tobias C. Rittweiler" tcr@freebits.de writes:
How can you currently rename a parameter in a lambda-list?
You probably can't, because I haven't had the need to do that yet.