RosettaCodeData/Task/Constrained-genericity/Zkl/constrained-genericity-2.zkl
2023-07-01 13:44:08 -04:00

2 lines
115 B
Text

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