Brett C.: > There are two things to realize about the tuple unpacking that acted > as motivation. One is supporting them in the compiler is a pain. > ... > Second, tuple unpacking in parameters breaks introspection horribly.
Are there ways to re-implement from scratch similar native pattern- matching features in CPython, like ones of Closure: http://items.sjbach.com/16/some-notes-about-clojure Or better ones of Scala, (or even OcaML, but those are static), etc, that avoid that pain and introspection troubles? Bye, bearophile -- http://mail.python.org/mailman/listinfo/python-list