Skip to content

Instantly share code, notes, and snippets.


Created Jan 5, 2018
What would you like to do?
clojure `->`-style functional chaining
"functional chaining, inspired by"
def chain(initial, func_list):
caller = lambda x, y: y(x)
return reduce(caller, func_list, initial)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.