| ZVON > > Haskell reference |
| Intro / Search / ZVON |
| | Indexes | Syntax | >> Prelude << | Ratio | Complex | Numeric | Ix | Array | List | Maybe | Char | IO | Directory | System | Time | Locale | CPUTime | Random |
| Module: | Prelude |
|---|---|
| Class: | Eq |
class Eq a where
(==), (/=) :: a -> a -> Bool
-- Minimal complete defintion:
-- (==) or (/=)
x /= y = not (x == y)
x == y = not (x /= y)