Last active
February 12, 2020 06:10
-
-
Save rscarrera27/599b92a19eeb1ebe1dc17daa0a4ebbef to your computer and use it in GitHub Desktop.
Is this possible
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
@curry({"t", 12}) | |
def do_x(v, t): | |
... | |
match(func, arg1, arg2) >> { | |
str: do_x, | |
int: lambda x: print x, | |
InternalException: handle, | |
...: handle_default, | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment