[mcclim-devel] [PATCH] Drei: adding some PRINT-OBJECTs for lambda-list related objects.

Tobias C. Rittweiler tcr at freebits.de
Tue Jul 15 21:45:27 UTC 2008


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.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: drei-lambda-list-print-objects.diff
Type: text/x-diff
Size: 1790 bytes
Desc: not available
URL: <https://mailman.common-lisp.net/pipermail/mcclim-devel/attachments/20080715/0839fd7a/attachment.diff>


More information about the mcclim-devel mailing list