Python from Wise Guy's Viewpoint
Jon S. Anthony
j-anthony at rcn.com
Tue Nov 11 10:44:25 EST 2003
Fergus Henderson <fjh at cs.mu.oz.au> writes:
> Well, DEFTYPE in lisp really just defines a function, doesn't it?
> So that's not much different than DEFUN. Likewise, DEFCLASS just
> defines a collection of functions, doesn't it? OK, maybe these
> also record some extra information in some global symbol tables.
> That is easily emulated if you really want.
>
> I don't know exactly what DEFPACKAGE does, but if the others are any
> guide, it's probably not too hard either.
Yes, if you reimplement Lisp you can achieve what was asked. However,
I don't think "turing equivalence" or Greenspun's tenth was the point...
/Jon
More information about the Python-list
mailing list