packages feed

haskell-tools-builtin-refactorings-1.0.0.0: examples/Decl/TypeClassMinimal.hs

module Decl.TypeClassMinimal where

class Eq' a where
    (=.=) :: a -> a -> Bool
    (/.=) :: a -> a -> Bool
    x =.= y = not (x /.= y)
    x /.= y = not (x =.= y)
    {-# MINIMAL (=.=) | (/.=) #-}