Created
June 21, 2015 18:13
-
-
Save justMaku/b377fb02d087504a2940 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
import Foundation | |
protocol Value: Equatable { | |
} | |
protocol Smashable { | |
func valueBySmashingOtherValue<T: Value,U: Value>(value: T) -> U | |
} | |
struct Foo: Smashable { | |
func valueBySmashingOtherValue<T: Value, U: Value>(value: T) -> U { | |
return B() | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment