[Python-ideas] Pattern matching

Guido van Rossum guido at python.org
Tue Apr 7 17:52:43 CEST 2015


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" <p.f.moore at gmail.com> wrote:

> On 7 April 2015 at 15:54, Szymon Pyżalski <szymon at pythonista.net> 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:
>
> https://pypi.python.org/pypi/patterns
> https://pypi.python.org/pypi/py-pattern-matching
>
> I'm not sure if either of these is the sort of thing you're looking for.
>
> Paul
> _______________________________________________
> Python-ideas mailing list
> Python-ideas at python.org
> https://mail.python.org/mailman/listinfo/python-ideas
> Code of Conduct: http://python.org/psf/codeofconduct/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-ideas/attachments/20150407/c41cf6b9/attachment.html>


More information about the Python-ideas mailing list