Assignment versus binding

Gregory Ewing greg.ewing at canterbury.ac.nz
Wed Oct 5 02:17:03 EDT 2016


Chris Angelico wrote:
> Seriously though... this ties in with the other issues about *purely*
> functional languages being rather impractical, and the purity
> generally being sullied some by things like monads (which I still
> don't understand, despite the explanations in another thread).

If you'd like to understand better, I could put together
an example that illustrates the basic idea behind monads
using Python. It's really not that hard; it only seems
hard because it's traditionally presented in a very
abstract and mathematical way.

In the process, I think I could also answer your earlier
question about why automatic currying is considered such
a good idea.

-- 
Greg



More information about the Python-list mailing list