Skip to content

Instantly share code, notes, and snippets.

@LeeKahSeng
Created August 13, 2017 14:16
Show Gist options
  • Save LeeKahSeng/03b84001f65c95c0c99f738645e51cf8 to your computer and use it in GitHub Desktop.
Save LeeKahSeng/03b84001f65c95c0c99f738645e51cf8 to your computer and use it in GitHub Desktop.
protocol Animal {
associatedtype FoodType
func eat(food: FoodType)
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment