RosettaCodeData/Task/Constrained-genericity/Zkl/constrained-genericity-2.zkl
2017-09-25 22:28:19 +02:00

2 lines
115 B
Text

class Apple(Eatable){} class Nuts(Eatable){} class Foo{}
FoodBox(Apple,"boogers",Nuts,Foo).contents.apply2("eat");