Typed Python?

Jacek Generowicz jacek.generowicz at cern.ch
Tue Jul 6 13:12:02 CEST 2004

Reinhold Birkenfeld <reinhold-birkenfeld-nospam at wolke7.net> writes:

> (is_better_structured_as "(set! x 10)" "x=10")

What's with the pesky underscores ?


   (is-better-structured-as "(set! x 10)" "x=10")

And anyway, that's pretty meaningless. It really should be:

   (is-better-structured-than? "(set! x 10)" "x=10")   =>  T

I hope that's perfectly clear to everyone now :-)

PS: The self evident truth of the resurt is demonstrated by the
    fact that it could (meningfully) be written:

      (is-better-structured-than? '(set! x 10) "x=10")   =>  T

   The difference in the quotes used is subtle, but _extremely_

More information about the Python-list mailing list