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

3 lines
43 B
Haskell

class Eatable a where
eat :: a -> String