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

Re: self reproducing code



() by itself is certainly cute, but I don't think it counts.
It's not -constructing- a program, it's just -returning- one.
All self-evaluating forms have the same property, after all.
{{1, 2, 3, ...}, {#t, #f}, ...}

Another borderline case, that comes up in Common Lisp, is:
 #1='#1#
But depending on your model of what QUOTE does, that's just
self-evaluating, too, and doesn't count either. Btw, don't
try to look at the result without setting *print-circle* or
*print-level* appropriately.