Created
July 2, 2020 14:40
-
-
Save akio0911/74165f828d753acc4a6a5ba2f01cc18c 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
| enum Value { | |
| case string(String) | |
| case int(Int) | |
| } | |
| let string: (String) -> Value = Value.string | |
| let int: (Int) -> Value = Value.int |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment