RosettaCodeData/Task/Constrained-genericity/Haskell/constrained-genericity-6.hs

3 lines
55 B
Haskell
Raw Permalink Normal View History

2013-04-10 16:57:12 -07:00
instance (Food a) => Eatable a where
eat x = munch x