3 ms·
Also see PyToolz's implementation: https://toolz.readthedocs.io/en/latest/api.html#toolz.functoolz.thread_first https://toolz.readthedocs.io/en/latest/api.html#
by sooheon 7y ago
Also see PyToolz's implementation: https://toolz.readthedocs.io/en/latest/api.html#toolz.functoolz.thread_first https://toolz.readthedocs.io/en/latest/api.html#toolz.functo...
They differentiate thread first/last for Fns with arity > 1, just like Clojure.