Contribute Media
A thank you to everyone who makes this possible: Read More

Functional Python with Mochi

Description

Mike Müller - Functional Python with Mochi [EuroPython 2015] [21 July 2015] [Bilbao, Euskadi, Spain]

[Slides][1]

While Python supports procedural, object-oriented, and functional programming, its functional features are not fully developed. Mochi is a Python-like functional language that compiles to Python 3 and PyPy 3 bytecode. It can use Python libraries and can be used from Python.

Mochi adds functional features such as tail recursion optimization, no re-assignments in function definitions, persistent data structures, pattern matching, algebraic data types, a pipeline operator, better anonymous functions, Erlang-style actors, Lisp-style macros as well as many useful builtin functions.

This talk presents what Mochi is, how it works, and what you can do with it. Functional programming can help to solve certain kind of problems elegantly. Done right, functional programs can be easily tested and provide more confidence that you program is really doing what you want. Mochi could be another tool in your toolbox. Functional programming can expand your horizon and can be a lot of fun. Mochi offers easy access to this new world because you can leverage your existing Python knowledge and libraries whenever needed.

[Slides][1]

[1]: http://www.python-academy.com/talks/europython2015/Functional%20Python%20with%20Mochi.slides.html#/

Improve this page