Created
January 16, 2017 13:48
-
-
Save hansonkd/e3b13419a86f02ee95235c3da99f8db3 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def func1(obj): | |
return do_stuff(obj) | |
def func2(self): | |
return do_other_stuff(obj) | |
def func3(self): | |
return do_more_stuff(obj) | |
composed = compose( | |
func1, | |
func2, | |
func3 | |
) | |
composed(Obj()) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment