Created
February 20, 2017 19:53
-
-
Save jemmons/728df1caed4eb5df9a958789789553d6 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
import Foundation | |
protocol `enum` { | |
func `protocol`() | |
} | |
struct `class`: `enum` { | |
func `protocol`() { | |
print("hello!") | |
} | |
} | |
`class`().protocol() //> "hello!" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment