Hacker News new | ask | show | jobs
by laminatedsmore 1951 days ago
I also like to chain functions in sequence like this, I use the toolz library to do it in Python.

https://toolz.readthedocs.io/en/latest/api.html#toolz.functo...

"I.e. pipe(data, f, g, h) is equivalent to h(g(f(data)))"