News for hackers. Stuff that matters.
Re:Toolz: A functional standard library for Python by jgalt212 on Thursday January 21, 2021 @09:00PM (#25867324)
I've always found logging and debugging to be just so darn tedious in functional realms.

e.g.

how to do easily you log/instrument f(g(h(x)))?

Re:Toolz: A functional standard library for Python by ElevenPhonons on Friday January 22, 2021 @12:11AM (#25868540)
Perhaps a custom compose function can help with these use cases? This series has a few examples of composing computation in Python that might be useful.

https://github.com/mpkocher/Functional-Programming-Technique...

And there's a general list of resources here.

https://github.com/sfermigier/awesome-functional-python

Re:Toolz: A functional standard library for Python by rcv on Thursday January 21, 2021 @09:29PM (#25867548)
Not sure how easy convenient this is in practice, but the docs mention using the "do" function [1]

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