[Python-ideas] Pattern matching

Todd toddrjen at gmail.com
Tue Apr 7 17:44:52 CEST 2015


On Tue, Apr 7, 2015 at 4:54 PM, Szymon Pyżalski <szymon at pythonista.net>
wrote:

> Hello!
>
> 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?
>


Not everyone is familiar with Haskell.  Can you provide an example of how
this would work (in pseudocode, perhaps)?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-ideas/attachments/20150407/dc860d0f/attachment.html>


More information about the Python-ideas mailing list