Quick idea: this might integrate well with PEP 484, or with the (still speculative) multiple dispatch that Lukas Lang wants to write. On Apr 7, 2015 8:46 AM, "Paul Moore" firstname.lastname@example.org wrote:
On 7 April 2015 at 15:54, Szymon Pyżalski email@example.com wrote:
I was trying to google if there were some attempts to add pattern matching feature (as seen in e.g. haskell) to Python. I couldn't however find anything. Were there any proposals for a feature like this?
From a quick look:
I'm not sure if either of these is the sort of thing you're looking for.
Paul _______________________________________________ Python-ideas mailing list Pythonfirstname.lastname@example.org https://mail.python.org/mailman/listinfo/python-ideas Code of Conduct: http://python.org/psf/codeofconduct/