shithub: MicroHs

ref: 13fc8b87e859b6e2aabb9b6dcd5698699858d624
dir: /lib/Data/Eq.hs/

View raw version
module Data.Eq(
  module Data.Eq
  ) where
import Prelude()              -- do not import Prelude
import Primitives
import Data.Bool_Type

infix 4 ==,/=

class Eq a where
  (==) :: a -> a -> Bool
  (/=) :: a -> a -> Bool
  x /= y = if x == y then False else True