Copyright | (c) The University of Glasgow 2005 |
---|---|
License | BSD-style (see the file libraries/base/LICENSE) |
Maintainer | libraries@haskell.org |
Stability | stable |
Portability | portable |
Safe Haskell | Trustworthy |
Language | Haskell2010 |
Data.Eq
Description
Equality
Documentation
The Eq
class defines equality (==
) and inequality (/=
).
All the basic datatypes exported by the Prelude are instances of Eq
,
and Eq
may be derived for any datatype whose constituents are also
instances of Eq
.
Instances
Methods
(==) :: GeneralCategory -> GeneralCategory -> Bool #
(/=) :: GeneralCategory -> GeneralCategory -> Bool #
Methods
(==) :: ArithException -> ArithException -> Bool #
(/=) :: ArithException -> ArithException -> Bool #
Methods
(==) :: MaskingState -> MaskingState -> Bool #
(/=) :: MaskingState -> MaskingState -> Bool #
Methods
(==) :: DecidedStrictness -> DecidedStrictness -> Bool #
(/=) :: DecidedStrictness -> DecidedStrictness -> Bool #
Methods
(==) :: SourceStrictness -> SourceStrictness -> Bool #
(/=) :: SourceStrictness -> SourceStrictness -> Bool #
Methods
(==) :: SourceUnpackedness -> SourceUnpackedness -> Bool #
(/=) :: SourceUnpackedness -> SourceUnpackedness -> Bool #
Methods
(==) :: Associativity -> Associativity -> Bool #
(/=) :: Associativity -> Associativity -> Bool #
Methods
(==) :: IODeviceType -> IODeviceType -> Bool #
(/=) :: IODeviceType -> IODeviceType -> Bool #
Methods
(==) :: CodingProgress -> CodingProgress -> Bool #
(/=) :: CodingProgress -> CodingProgress -> Bool #
Methods
(==) :: ArrayException -> ArrayException -> Bool #
(/=) :: ArrayException -> ArrayException -> Bool #
Methods
(==) :: AsyncException -> AsyncException -> Bool #
(/=) :: AsyncException -> AsyncException -> Bool #
Methods
(==) :: ThreadStatus -> ThreadStatus -> Bool #
(/=) :: ThreadStatus -> ThreadStatus -> Bool #
Methods
(==) :: SpecConstrAnnotation -> SpecConstrAnnotation -> Bool #
(/=) :: SpecConstrAnnotation -> SpecConstrAnnotation -> Bool #
Methods
(==) :: ForeignPtr a -> ForeignPtr a -> Bool #
(/=) :: ForeignPtr a -> ForeignPtr a -> Bool #
Methods
(==) :: StableName a -> StableName a -> Bool #
(/=) :: StableName a -> StableName a -> Bool #
Methods
(==) :: WrappedMonoid m -> WrappedMonoid m -> Bool #
(/=) :: WrappedMonoid m -> WrappedMonoid m -> Bool #