On Tue, Apr 7, 2015 at 4:54 PM, Szymon Pyżalski <szymon@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?

Not everyone is familiar with Haskell.  Can you provide an example of how this would work (in pseudocode, perhaps)?