Created
October 31, 2017 07:27
-
-
Save zakky-dev/0e5870600ed535ba828064bf548dbc4c 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
func call2<T>(_ arg: T, _ c: (T) -> ()) { | |
c(arg) | |
} | |
call2(1) { arg in | |
print(arg) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment