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