packages feed

aihc-parser-1.0.0.2: test/Test/Fixtures/oracle/InstanceSigs/instance-sig-multi-method.hs

{- ORACLE_TEST pass -}
{-# LANGUAGE InstanceSigs #-}

module InstanceSigsMultiMethod where

class Ops a where
  incr :: a -> a
  asString :: a -> String

instance Ops Int where
  incr :: Int -> Int
  incr x = x + 1

  asString :: Int -> String
  asString = show