packages feed

MicroHs-0.17.4.0 / tests / Eq1.hs

module Eq1 whereclass Eq1 f where  eq1 :: (Eq a) => f a -> f a -> Boolinstance Eq1 Maybe where  eq1 = (==)main :: IO ()main = do  let x = Just (1::Int)  print $ eq1 x x