Created
March 15, 2016 14:25
-
-
Save longlongjump/f3555766016b7981e42f to your computer and use it in GitHub Desktop.
This file contains 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: Comparable>(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