brittany/data/Test200.hs

5 lines
96 B
Haskell

instance MyClass Int where
type MyType = Int
myMethod :: MyType -> Int
myMethod x = x + 1