22 Sep 2017, 16:02 • python, monads • 139 views
A monad is an abstract concept used in functional programming to sequence computation, but it can also be useful in OOP. Let's take a look at how to implement monads in Python.
27 Sep 2017, 10:07 • c++, python • 809 views
The fixpoint operator (\(\mu\)) on functions provides a way of converting nonrecursive functions into recursive ones. Let's learn how to implement it in Python and C++.
24 Sep 2017, 14:07 • python, catamorphism • 643 views
In functional programming, fixpoints of data types are used to define recursive types. Let’s see an example of how one can use this technique in Python.