Typed Python?
Jacek Generowicz
jacek.generowicz at cern.ch
Tue Jul 6 07:12:02 EDT 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 ?
It's:
(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_
important.
More information about the Python-list
mailing list