shithub: MicroHs

ref: b72d6ce7b04d8d0e57b9bc67f8ff038c0b01e08d
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