Created
March 15, 2016 13:05
-
-
Save longlongjump/64645fb5e96cf54a1ddf 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 foo<T>(val: T) { | |
debugPrint(val) // breakpoint here | |
} | |
foo(42) | |
foo(42.0) | |
foo("42") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment