darcs-2.14.3: a distributed, interactive, smart revision control system

Darcs.Prelude

Synopsis

# Documentation

(++) :: [a] -> [a] -> [a] infixr 5 #

Append two lists, i.e.,

[x1, ..., xm] ++ [y1, ..., yn] == [x1, ..., xm, y1, ..., yn]
[x1, ..., xm] ++ [y1, ...] == [x1, ..., xm, y1, ...]

If the first list is not finite, the result is the first list.

seq :: a -> b -> b #

The value of seq a b is bottom if a is bottom, and otherwise equal to b. In other words, it evaluates the first argument a to weak head normal form (WHNF). seq is usually introduced to improve performance by avoiding unneeded laziness.

A note on evaluation order: the expression seq a b does not guarantee that a will be evaluated before b. The only guarantee given by seq is that the both a and b will be evaluated before seq returns a value. In particular, this means that b may be evaluated before a. If you need to guarantee a specific order of evaluation, you must use the function pseq from the "parallel" package.

filter :: (a -> Bool) -> [a] -> [a] #

filter, applied to a predicate and a list, returns the list of those elements that satisfy the predicate; i.e.,

filter p xs = [ x | x <- xs, p x]

zip :: [a] -> [b] -> [(a, b)] #

zip takes two lists and returns a list of corresponding pairs.

zip [1, 2] ['a', 'b'] = [(1, 'a'), (2, 'b')]

If one input list is short, excess elements of the longer list are discarded:

zip [1] ['a', 'b'] = [(1, 'a')]
zip [1, 2] ['a'] = [(1, 'a')]

zip is right-lazy:

zip [] _|_ = []
zip _|_ [] = _|_

print :: Show a => a -> IO () #

The print function outputs a value of any printable type to the standard output device. Printable types are those that are instances of class Show; print converts values to strings for output using the show operation and adds a newline.

For example, a program to print the first 20 integers and their powers of 2 could be written as:

main = print ([(n, 2^n) | n <- [0..19]])

fst :: (a, b) -> a #

Extract the first component of a pair.

snd :: (a, b) -> b #

Extract the second component of a pair.

otherwise is defined as the value True. It helps to make guards more readable. eg.

 f x | x < 0     = ...
| otherwise = ...

map :: (a -> b) -> [a] -> [b] #

map f xs is the list obtained by applying f to each element of xs, i.e.,

map f [x1, x2, ..., xn] == [f x1, f x2, ..., f xn]
map f [x1, x2, ...] == [f x1, f x2, ...]

($) :: (a -> b) -> a -> b infixr 0 # Application operator. This operator is redundant, since ordinary application (f x) means the same as (f$ x). However, $ has low, right-associative binding precedence, so it sometimes allows parentheses to be omitted; for example: f$ g $h x = f (g (h x)) It is also useful in higher-order situations, such as map ($ 0) xs, or zipWith ($) fs xs. Note that ($) is levity-polymorphic in its result type, so that foo \$ True where foo :: Bool -> Int# is well-typed

fromIntegral :: (Integral a, Num b) => a -> b #

general coercion from integral types

realToFrac :: (Real a, Fractional b) => a -> b #

general coercion to fractional types

class Bounded a where #

The Bounded class is used to name the upper and lower limits of a type. Ord is not a superclass of Bounded since types that are not totally ordered may also have upper and lower bounds.

The Bounded class may be derived for any enumeration type; minBound is the first constructor listed in the data declaration and maxBound is the last. Bounded may also be derived for single-constructor datatypes whose constituent types are in Bounded.

Methods

minBound :: a #

maxBound :: a #

Instances
 Since: base-2.1 Instance detailsDefined in GHC.Enum Methods Since: base-2.1 Instance detailsDefined in GHC.Enum Methods Since: base-2.1 Instance detailsDefined in GHC.Enum Methods Since: base-2.1 Instance detailsDefined in GHC.Int Methods Since: base-2.1 Instance detailsDefined in GHC.Int Methods Since: base-2.1 Instance detailsDefined in GHC.Int Methods Since: base-2.1 Instance detailsDefined in GHC.Int Methods Since: base-2.1 Instance detailsDefined in GHC.Enum Methods Since: base-2.1 Instance detailsDefined in GHC.Enum Methods Since: base-2.1 Instance detailsDefined in GHC.Word Methods Since: base-2.1 Instance detailsDefined in GHC.Word Methods Since: base-2.1 Instance detailsDefined in GHC.Word Methods Since: base-2.1 Instance detailsDefined in GHC.Word Methods Since: base-4.10.0.0 Instance detailsDefined in GHC.Enum Methods Since: base-4.10.0.0 Instance detailsDefined in GHC.Enum Methods Bounded () Since: base-2.1 Instance detailsDefined in GHC.Enum MethodsminBound :: () #maxBound :: () # Instance detailsDefined in System.Posix.Types Methods Instance detailsDefined in System.Posix.Types Methods Instance detailsDefined in System.Posix.Types Methods Instance detailsDefined in System.Posix.Types Methods Instance detailsDefined in System.Posix.Types Methods Instance detailsDefined in System.Posix.Types Methods Instance detailsDefined in System.Posix.Types Methods Instance detailsDefined in System.Posix.Types Methods Instance detailsDefined in System.Posix.Types Methods Instance detailsDefined in System.Posix.Types Methods Instance detailsDefined in System.Posix.Types Methods Instance detailsDefined in System.Posix.Types Methods Instance detailsDefined in System.Posix.Types Methods Instance detailsDefined in System.Posix.Types Methods Instance detailsDefined in System.Posix.Types Methods Instance detailsDefined in System.Posix.Types Methods Instance detailsDefined in System.Posix.Types Methods Instance detailsDefined in System.Posix.Types Methods Instance detailsDefined in System.Posix.Types Methods Since: base-2.1 Instance detailsDefined in Data.Semigroup.Internal Methods Since: base-2.1 Instance detailsDefined in Data.Semigroup.Internal Methods Since: base-4.9.0.0 Instance detailsDefined in GHC.Generics Methods Since: base-4.9.0.0 Instance detailsDefined in GHC.Generics Methods Since: base-4.9.0.0 Instance detailsDefined in GHC.Generics Methods Since: base-4.9.0.0 Instance detailsDefined in GHC.Generics Methods Instance detailsDefined in Foreign.C.Types Methods Instance detailsDefined in Foreign.C.Types Methods Instance detailsDefined in Foreign.C.Types Methods Instance detailsDefined in Foreign.C.Types Methods Instance detailsDefined in Foreign.C.Types Methods Instance detailsDefined in Foreign.C.Types Methods Instance detailsDefined in Foreign.C.Types Methods Instance detailsDefined in Foreign.C.Types Methods Instance detailsDefined in Foreign.C.Types Methods Instance detailsDefined in Foreign.C.Types Methods Instance detailsDefined in Foreign.C.Types Methods Instance detailsDefined in Foreign.C.Types Methods Instance detailsDefined in Foreign.C.Types Methods Instance detailsDefined in Foreign.C.Types Methods Instance detailsDefined in Foreign.C.Types Methods Instance detailsDefined in Foreign.C.Types Methods Instance detailsDefined in Foreign.C.Types Methods Instance detailsDefined in Foreign.C.Types Methods Instance detailsDefined in Foreign.C.Types Methods Instance detailsDefined in Foreign.C.Types Methods Instance detailsDefined in Foreign.Ptr Methods Instance detailsDefined in Foreign.Ptr Methods Since: base-2.1 Instance detailsDefined in GHC.Unicode Methods Instance detailsDefined in System.Directory.Internal.Common Methods Instance detailsDefined in System.Directory.Internal.Common Methods Instance detailsDefined in System.Directory.Internal.Common Methods Bounded Day Instance detailsDefined in System.Time MethodsminBound :: Day #maxBound :: Day # Bounded Month Instance detailsDefined in System.Time MethodsminBound :: Month #maxBound :: Month # Bounded CompressionStrategy Instance detailsDefined in Codec.Compression.Zlib.Stream MethodsminBound :: CompressionStrategy #maxBound :: CompressionStrategy # Bounded Method Instance detailsDefined in Codec.Compression.Zlib.Stream MethodsminBound :: Method #maxBound :: Method # Bounded Format Instance detailsDefined in Codec.Compression.Zlib.Stream MethodsminBound :: Format #maxBound :: Format # Bounded Encoding Instance detailsDefined in Basement.String MethodsminBound :: Encoding #maxBound :: Encoding # Bounded UTF32_Invalid Instance detailsDefined in Basement.String.Encoding.UTF32 MethodsminBound :: UTF32_Invalid #maxBound :: UTF32_Invalid # Bounded X11Color Instance detailsDefined in Data.GraphViz.Attributes.Colors.X11 MethodsminBound :: X11Color #maxBound :: X11Color # Bounded DirType Instance detailsDefined in Data.GraphViz.Attributes.Values MethodsminBound :: DirType #maxBound :: DirType # Bounded Order Instance detailsDefined in Data.GraphViz.Attributes.Values MethodsminBound :: Order #maxBound :: Order # Bounded RankType Instance detailsDefined in Data.GraphViz.Attributes.Values MethodsminBound :: RankType #maxBound :: RankType # Bounded Shape Instance detailsDefined in Data.GraphViz.Attributes.Values MethodsminBound :: Shape #maxBound :: Shape # Bounded GraphvizCanvas Instance detailsDefined in Data.GraphViz.Commands MethodsminBound :: GraphvizCanvas #maxBound :: GraphvizCanvas # Bounded GraphvizCommand Instance detailsDefined in Data.GraphViz.Commands.Available MethodsminBound :: GraphvizCommand #maxBound :: GraphvizCommand # Bounded ArrowFill Instance detailsDefined in Data.GraphViz.Attributes.Arrows MethodsminBound :: ArrowFill #maxBound :: ArrowFill # Bounded ArrowShape Instance detailsDefined in Data.GraphViz.Attributes.Arrows MethodsminBound :: ArrowShape #maxBound :: ArrowShape # Bounded ArrowSide Instance detailsDefined in Data.GraphViz.Attributes.Arrows MethodsminBound :: ArrowSide #maxBound :: ArrowSide # Bounded CompassPoint Instance detailsDefined in Data.GraphViz.Attributes.Internal MethodsminBound :: CompassPoint #maxBound :: CompassPoint # Bounded ClusterMode Instance detailsDefined in Data.GraphViz.Attributes.Values MethodsminBound :: ClusterMode #maxBound :: ClusterMode # Bounded DEConstraints Instance detailsDefined in Data.GraphViz.Attributes.Values MethodsminBound :: DEConstraints #maxBound :: DEConstraints # Bounded EdgeType Instance detailsDefined in Data.GraphViz.Attributes.Values MethodsminBound :: EdgeType #maxBound :: EdgeType # Bounded Justification Instance detailsDefined in Data.GraphViz.Attributes.Values MethodsminBound :: Justification #maxBound :: Justification # Bounded LabelScheme Instance detailsDefined in Data.GraphViz.Attributes.Values MethodsminBound :: LabelScheme #maxBound :: LabelScheme # Bounded ModeType Instance detailsDefined in Data.GraphViz.Attributes.Values MethodsminBound :: ModeType #maxBound :: ModeType # Bounded Model Instance detailsDefined in Data.GraphViz.Attributes.Values MethodsminBound :: Model #maxBound :: Model # Bounded NodeSize Instance detailsDefined in Data.GraphViz.Attributes.Values MethodsminBound :: NodeSize #maxBound :: NodeSize # Bounded OutputMode Instance detailsDefined in Data.GraphViz.Attributes.Values MethodsminBound :: OutputMode #maxBound :: OutputMode # Bounded PageDir Instance detailsDefined in Data.GraphViz.Attributes.Values MethodsminBound :: PageDir #maxBound :: PageDir # Bounded QuadType Instance detailsDefined in Data.GraphViz.Attributes.Values MethodsminBound :: QuadType #maxBound :: QuadType # Bounded RankDir Instance detailsDefined in Data.GraphViz.Attributes.Values MethodsminBound :: RankDir #maxBound :: RankDir # Bounded STStyle Instance detailsDefined in Data.GraphViz.Attributes.Values MethodsminBound :: STStyle #maxBound :: STStyle # Bounded SVGFontNames Instance detailsDefined in Data.GraphViz.Attributes.Values MethodsminBound :: SVGFontNames #maxBound :: SVGFontNames # Bounded ScaleType Instance detailsDefined in Data.GraphViz.Attributes.Values MethodsminBound :: ScaleType #maxBound :: ScaleType # Bounded SmoothType Instance detailsDefined in Data.GraphViz.Attributes.Values MethodsminBound :: SmoothType #maxBound :: SmoothType # Bounded VerticalPlacement Instance detailsDefined in Data.GraphViz.Attributes.Values MethodsminBound :: VerticalPlacement #maxBound :: VerticalPlacement # Bounded Align Instance detailsDefined in Data.GraphViz.Attributes.HTML MethodsminBound :: Align #maxBound :: Align # Bounded CellFormat Instance detailsDefined in Data.GraphViz.Attributes.HTML MethodsminBound :: CellFormat #maxBound :: CellFormat # Bounded Format Instance detailsDefined in Data.GraphViz.Attributes.HTML MethodsminBound :: Format #maxBound :: Format # Bounded Scale Instance detailsDefined in Data.GraphViz.Attributes.HTML MethodsminBound :: Scale #maxBound :: Scale # Bounded Side Instance detailsDefined in Data.GraphViz.Attributes.HTML MethodsminBound :: Side #maxBound :: Side # Bounded Style Instance detailsDefined in Data.GraphViz.Attributes.HTML MethodsminBound :: Style #maxBound :: Style # Bounded VAlign Instance detailsDefined in Data.GraphViz.Attributes.HTML MethodsminBound :: VAlign #maxBound :: VAlign # Bounded BrewerName Instance detailsDefined in Data.GraphViz.Attributes.ColorScheme MethodsminBound :: BrewerName #maxBound :: BrewerName # Bounded a => Bounded (Min a) Since: base-4.9.0.0 Instance detailsDefined in Data.Semigroup MethodsminBound :: Min a #maxBound :: Min a # Bounded a => Bounded (Max a) Since: base-4.9.0.0 Instance detailsDefined in Data.Semigroup MethodsminBound :: Max a #maxBound :: Max a # Bounded a => Bounded (First a) Since: base-4.9.0.0 Instance detailsDefined in Data.Semigroup Methods Bounded a => Bounded (Last a) Since: base-4.9.0.0 Instance detailsDefined in Data.Semigroup Methods Bounded m => Bounded (WrappedMonoid m) Since: base-4.9.0.0 Instance detailsDefined in Data.Semigroup Methods Bounded a => Bounded (Identity a) Since: base-4.9.0.0 Instance detailsDefined in Data.Functor.Identity Methods Bounded a => Bounded (Dual a) Since: base-2.1 Instance detailsDefined in Data.Semigroup.Internal Methods Bounded a => Bounded (Sum a) Since: base-2.1 Instance detailsDefined in Data.Semigroup.Internal MethodsminBound :: Sum a #maxBound :: Sum a # Bounded a => Bounded (Product a) Since: base-2.1 Instance detailsDefined in Data.Semigroup.Internal Methods (Bounded a, Bounded b) => Bounded (a, b) Since: base-2.1 Instance detailsDefined in GHC.Enum MethodsminBound :: (a, b) #maxBound :: (a, b) # Bounded (Proxy t) Since: base-4.7.0.0 Instance detailsDefined in Data.Proxy Methods (Bounded a, Bounded b, Bounded c) => Bounded (a, b, c) Since: base-2.1 Instance detailsDefined in GHC.Enum MethodsminBound :: (a, b, c) #maxBound :: (a, b, c) # Bounded a => Bounded (Const a b) Since: base-4.9.0.0 Instance detailsDefined in Data.Functor.Const MethodsminBound :: Const a b #maxBound :: Const a b # (Applicative f, Bounded a) => Bounded (Ap f a) Since: base-4.12.0.0 Instance detailsDefined in Data.Monoid MethodsminBound :: Ap f a #maxBound :: Ap f a # a ~ b => Bounded (a :~: b) Since: base-4.7.0.0 Instance detailsDefined in Data.Type.Equality MethodsminBound :: a :~: b #maxBound :: a :~: b # (Bounded a, Bounded b, Bounded c, Bounded d) => Bounded (a, b, c, d) Since: base-2.1 Instance detailsDefined in GHC.Enum MethodsminBound :: (a, b, c, d) #maxBound :: (a, b, c, d) # a ~~ b => Bounded (a :~~: b) Since: base-4.10.0.0 Instance detailsDefined in Data.Type.Equality MethodsminBound :: a :~~: b #maxBound :: a :~~: b # (Bounded a, Bounded b, Bounded c, Bounded d, Bounded e) => Bounded (a, b, c, d, e) Since: base-2.1 Instance detailsDefined in GHC.Enum MethodsminBound :: (a, b, c, d, e) #maxBound :: (a, b, c, d, e) # (Bounded a, Bounded b, Bounded c, Bounded d, Bounded e, Bounded f) => Bounded (a, b, c, d, e, f) Since: base-2.1 Instance detailsDefined in GHC.Enum MethodsminBound :: (a, b, c, d, e, f) #maxBound :: (a, b, c, d, e, f) # (Bounded a, Bounded b, Bounded c, Bounded d, Bounded e, Bounded f, Bounded g) => Bounded (a, b, c, d, e, f, g) Since: base-2.1 Instance detailsDefined in GHC.Enum MethodsminBound :: (a, b, c, d, e, f, g) #maxBound :: (a, b, c, d, e, f, g) # (Bounded a, Bounded b, Bounded c, Bounded d, Bounded e, Bounded f, Bounded g, Bounded h) => Bounded (a, b, c, d, e, f, g, h) Since: base-2.1 Instance detailsDefined in GHC.Enum MethodsminBound :: (a, b, c, d, e, f, g, h) #maxBound :: (a, b, c, d, e, f, g, h) # (Bounded a, Bounded b, Bounded c, Bounded d, Bounded e, Bounded f, Bounded g, Bounded h, Bounded i) => Bounded (a, b, c, d, e, f, g, h, i) Since: base-2.1 Instance detailsDefined in GHC.Enum MethodsminBound :: (a, b, c, d, e, f, g, h, i) #maxBound :: (a, b, c, d, e, f, g, h, i) # (Bounded a, Bounded b, Bounded c, Bounded d, Bounded e, Bounded f, Bounded g, Bounded h, Bounded i, Bounded j) => Bounded (a, b, c, d, e, f, g, h, i, j) Since: base-2.1 Instance detailsDefined in GHC.Enum MethodsminBound :: (a, b, c, d, e, f, g, h, i, j) #maxBound :: (a, b, c, d, e, f, g, h, i, j) # (Bounded a, Bounded b, Bounded c, Bounded d, Bounded e, Bounded f, Bounded g, Bounded h, Bounded i, Bounded j, Bounded k) => Bounded (a, b, c, d, e, f, g, h, i, j, k) Since: base-2.1 Instance detailsDefined in GHC.Enum MethodsminBound :: (a, b, c, d, e, f, g, h, i, j, k) #maxBound :: (a, b, c, d, e, f, g, h, i, j, k) # (Bounded a, Bounded b, Bounded c, Bounded d, Bounded e, Bounded f, Bounded g, Bounded h, Bounded i, Bounded j, Bounded k, Bounded l) => Bounded (a, b, c, d, e, f, g, h, i, j, k, l) Since: base-2.1 Instance detailsDefined in GHC.Enum MethodsminBound :: (a, b, c, d, e, f, g, h, i, j, k, l) #maxBound :: (a, b, c, d, e, f, g, h, i, j, k, l) # (Bounded a, Bounded b, Bounded c, Bounded d, Bounded e, Bounded f, Bounded g, Bounded h, Bounded i, Bounded j, Bounded k, Bounded l, Bounded m) => Bounded (a, b, c, d, e, f, g, h, i, j, k, l, m) Since: base-2.1 Instance detailsDefined in GHC.Enum MethodsminBound :: (a, b, c, d, e, f, g, h, i, j, k, l, m) #maxBound :: (a, b, c, d, e, f, g, h, i, j, k, l, m) # (Bounded a, Bounded b, Bounded c, Bounded d, Bounded e, Bounded f, Bounded g, Bounded h, Bounded i, Bounded j, Bounded k, Bounded l, Bounded m, Bounded n) => Bounded (a, b, c, d, e, f, g, h, i, j, k, l, m, n) Since: base-2.1 Instance detailsDefined in GHC.Enum MethodsminBound :: (a, b, c, d, e, f, g, h, i, j, k, l, m, n) #maxBound :: (a, b, c, d, e, f, g, h, i, j, k, l, m, n) # (Bounded a, Bounded b, Bounded c, Bounded d, Bounded e, Bounded f, Bounded g, Bounded h, Bounded i, Bounded j, Bounded k, Bounded l, Bounded m, Bounded n, Bounded o) => Bounded (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o) Since: base-2.1 Instance detailsDefined in GHC.Enum MethodsminBound :: (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o) #maxBound :: (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o) #

class Enum a where #

Class Enum defines operations on sequentially ordered types.

The enumFrom... methods are used in Haskell's translation of arithmetic sequences.

Instances of Enum may be derived for any enumeration type (types whose constructors have no fields). The nullary constructors are assumed to be numbered left-to-right by fromEnum from 0 through n-1. See Chapter 10 of the Haskell Report for more details.

For any type that is an instance of class Bounded as well as Enum, the following should hold:

• The calls succ maxBound and pred minBound should result in a runtime error.
• fromEnum and toEnum should give a runtime error if the result value is not representable in the result type. For example, toEnum 7 :: Bool is an error.
• enumFrom and enumFromThen should be defined with an implicit bound, thus:
   enumFrom     x   = enumFromTo     x maxBound
enumFromThen x y = enumFromThenTo x y bound
where
bound | fromEnum y >= fromEnum x = maxBound
| otherwise                = minBound

Minimal complete definition

Methods

succ :: a -> a #

the successor of a value. For numeric types, succ adds 1.

toEnum :: Int -> a #

Convert from an Int.

fromEnum :: a -> Int #

Convert to an Int. It is implementation-dependent what fromEnum returns when applied to a value that is too large to fit in an Int.

enumFrom :: a -> [a] #

Used in Haskell's translation of [n..] with [n..] = enumFrom n, a possible implementation being enumFrom n = n : enumFrom (succ n). For example:

• enumFrom 4 :: [Integer] = [4,5,6,7,...]
• enumFrom 6 :: [Int] = [6,7,8,9,...,maxBound :: Int]

enumFromThen :: a -> a -> [a] #

Used in Haskell's translation of [n,n'..] with [n,n'..] = enumFromThen n n', a possible implementation being enumFromThen n n' = n : n' : worker (f x) (f x n'), worker s v = v : worker s (s v), x = fromEnum n' - fromEnum n and f n y | n > 0 = f (n - 1) (succ y) | n < 0 = f (n + 1) (pred y) | otherwise = y For example:

• enumFromThen 4 6 :: [Integer] = [4,6,8,10...]
• enumFromThen 6 2 :: [Int] = [6,2,-2,-6,...,minBound :: Int]

enumFromTo :: a -> a -> [a] #

Used in Haskell's translation of [n..m] with [n..m] = enumFromTo n m, a possible implementation being enumFromTo n m | n <= m = n : enumFromTo (succ n) m | otherwise = []. For example:

• enumFromTo 6 10 :: [Int] = [6,7,8,9,10]
• enumFromTo 42 1 :: [Integer] = []

enumFromThenTo :: a -> a -> a -> [a] #

Used in Haskell's translation of [n,n'..m] with [n,n'..m] = enumFromThenTo n n' m, a possible implementation being enumFromThenTo n n' m = worker (f x) (c x) n m, x = fromEnum n' - fromEnum n, c x = bool (>=) ((x 0) f n y | n > 0 = f (n - 1) (succ y) | n < 0 = f (n + 1) (pred y) | otherwise = y and worker s c v m | c v m = v : worker s c (s v) m | otherwise = [] For example:

• enumFromThenTo 4 2 -6 :: [Integer] = [4,2,0,-2,-4,-6]
• enumFromThenTo 6 8 2 :: [Int] = []
Instances

class Eq a where #

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.

The Haskell Report defines no laws for Eq. However, == is customarily expected to implement an equivalence relationship where two values comparing equal are indistinguishable by "public" functions, with a "public" function being one not allowing to see implementation details. For example, for a type representing non-normalised natural numbers modulo 100, a "public" function doesn't make the difference between 1 and 201. It is expected to have the following properties:

Reflexivity
x == x = True
Symmetry
x == y = y == x
Transitivity
if x == y && y == z = True, then x == z = True
Substitutivity
if x == y = True and f is a "public" function whose return type is an instance of Eq, then f x == f y = True
Negation
x /= y = not (x == y)

Minimal complete definition: either == or /=.

Minimal complete definition

Methods

(==) :: a -> a -> Bool infix 4 #

(/=) :: a -> a -> Bool infix 4 #

Instances
 Instance detailsDefined in GHC.Classes Methods(==) :: Bool -> Bool -> Bool #(/=) :: Bool -> Bool -> Bool # Instance detailsDefined in GHC.Classes Methods(==) :: Char -> Char -> Bool #(/=) :: Char -> Char -> Bool # Note that due to the presence of NaN, Double's Eq instance does not satisfy reflexivity.>>> 0/0 == (0/0 :: Double) False Also note that Double's Eq instance does not satisfy substitutivity:>>> 0 == (-0 :: Double) True >>> recip 0 == recip (-0 :: Double) False  Instance detailsDefined in GHC.Classes Methods(==) :: Double -> Double -> Bool #(/=) :: Double -> Double -> Bool # Note that due to the presence of NaN, Float's Eq instance does not satisfy reflexivity.>>> 0/0 == (0/0 :: Float) False Also note that Float's Eq instance does not satisfy substitutivity:>>> 0 == (-0 :: Float) True >>> recip 0 == recip (-0 :: Float) False  Instance detailsDefined in GHC.Classes Methods(==) :: Float -> Float -> Bool #(/=) :: Float -> Float -> Bool # Instance detailsDefined in GHC.Classes Methods(==) :: Int -> Int -> Bool #(/=) :: Int -> Int -> Bool # Since: base-2.1 Instance detailsDefined in GHC.Int Methods(==) :: Int8 -> Int8 -> Bool #(/=) :: Int8 -> Int8 -> Bool # Since: base-2.1 Instance detailsDefined in GHC.Int Methods(==) :: Int16 -> Int16 -> Bool #(/=) :: Int16 -> Int16 -> Bool # Since: base-2.1 Instance detailsDefined in GHC.Int Methods(==) :: Int32 -> Int32 -> Bool #(/=) :: Int32 -> Int32 -> Bool # Since: base-2.1 Instance detailsDefined in GHC.Int Methods(==) :: Int64 -> Int64 -> Bool #(/=) :: Int64 -> Int64 -> Bool # Instance detailsDefined in GHC.Integer.Type Methods(==) :: Integer -> Integer -> Bool #(/=) :: Integer -> Integer -> Bool # Since: base-4.8.0.0 Instance detailsDefined in GHC.Natural Methods(==) :: Natural -> Natural -> Bool #(/=) :: Natural -> Natural -> Bool # Instance detailsDefined in GHC.Classes Methods Instance detailsDefined in GHC.Classes Methods(==) :: Word -> Word -> Bool #(/=) :: Word -> Word -> Bool # Since: base-2.1 Instance detailsDefined in GHC.Word Methods(==) :: Word8 -> Word8 -> Bool #(/=) :: Word8 -> Word8 -> Bool # Since: base-2.1 Instance detailsDefined in GHC.Word Methods(==) :: Word16 -> Word16 -> Bool #(/=) :: Word16 -> Word16 -> Bool # Since: base-2.1 Instance detailsDefined in GHC.Word Methods(==) :: Word32 -> Word32 -> Bool #(/=) :: Word32 -> Word32 -> Bool # Since: base-2.1 Instance detailsDefined in GHC.Word Methods(==) :: Word64 -> Word64 -> Bool #(/=) :: Word64 -> Word64 -> Bool # Instance detailsDefined in Data.Typeable.Internal Methods Instance detailsDefined in Language.Haskell.TH.Syntax Methods(==) :: Exp -> Exp -> Bool #(/=) :: Exp -> Exp -> Bool # Instance detailsDefined in Language.Haskell.TH.Syntax Methods(==) :: Match -> Match -> Bool #(/=) :: Match -> Match -> Bool # Instance detailsDefined in Language.Haskell.TH.Syntax Methods(==) :: Clause -> Clause -> Bool #(/=) :: Clause -> Clause -> Bool # Instance detailsDefined in Language.Haskell.TH.Syntax Methods(==) :: Pat -> Pat -> Bool #(/=) :: Pat -> Pat -> Bool # Instance detailsDefined in Language.Haskell.TH.Syntax Methods(==) :: Type -> Type -> Bool #(/=) :: Type -> Type -> Bool # Instance detailsDefined in Language.Haskell.TH.Syntax Methods(==) :: Dec -> Dec -> Bool #(/=) :: Dec -> Dec -> Bool # Instance detailsDefined in Language.Haskell.TH.Syntax Methods(==) :: Name -> Name -> Bool #(/=) :: Name -> Name -> Bool # Instance detailsDefined in Language.Haskell.TH.Syntax Methods(==) :: FunDep -> FunDep -> Bool #(/=) :: FunDep -> FunDep -> Bool # Instance detailsDefined in Language.Haskell.TH.Syntax Methods Instance detailsDefined in Language.Haskell.TH.Syntax Methods(==) :: Overlap -> Overlap -> Bool #(/=) :: Overlap -> Overlap -> Bool # Eq () Instance detailsDefined in GHC.Classes Methods(==) :: () -> () -> Bool #(/=) :: () -> () -> Bool # Instance detailsDefined in GHC.Classes Methods(==) :: TyCon -> TyCon -> Bool #(/=) :: TyCon -> TyCon -> Bool # Instance detailsDefined in GHC.Classes Methods(==) :: Module -> Module -> Bool #(/=) :: Module -> Module -> Bool # Instance detailsDefined in GHC.Classes Methods(==) :: TrName -> TrName -> Bool #(/=) :: TrName -> TrName -> Bool # Since: base-4.1.0.0 Instance detailsDefined in GHC.IO.Handle.Types Methods(==) :: Handle -> Handle -> Bool #(/=) :: Handle -> Handle -> Bool # Instance detailsDefined in GHC.Integer.Type Methods(==) :: BigNat -> BigNat -> Bool #(/=) :: BigNat -> BigNat -> Bool # Since: base-4.8.0.0 Instance detailsDefined in Data.Void Methods(==) :: Void -> Void -> Bool #(/=) :: Void -> Void -> Bool # Since: base-4.3.0.0 Instance detailsDefined in GHC.Exts Methods Equality of constructorsSince: base-4.0.0.0 Instance detailsDefined in Data.Data Methods(==) :: Constr -> Constr -> Bool #(/=) :: Constr -> Constr -> Bool # Since: base-4.0.0.0 Instance detailsDefined in Data.Data Methods(==) :: DataRep -> DataRep -> Bool #(/=) :: DataRep -> DataRep -> Bool # Since: base-4.0.0.0 Instance detailsDefined in Data.Data Methods Since: base-4.0.0.0 Instance detailsDefined in Data.Data Methods(==) :: Fixity -> Fixity -> Bool #(/=) :: Fixity -> Fixity -> Bool # Since: base-2.1 Instance detailsDefined in Data.Version Methods(==) :: Version -> Version -> Bool #(/=) :: Version -> Version -> Bool # Since: base-4.1.0.0 Instance detailsDefined in GHC.IO.Handle Methods Since: base-4.2.0.0 Instance detailsDefined in GHC.Conc.Sync Methods Since: base-4.3.0.0 Instance detailsDefined in GHC.Conc.Sync Methods Since: base-4.3.0.0 Instance detailsDefined in GHC.Conc.Sync Methods Instance detailsDefined in System.Posix.Types Methods(==) :: CDev -> CDev -> Bool #(/=) :: CDev -> CDev -> Bool # Instance detailsDefined in System.Posix.Types Methods(==) :: CIno -> CIno -> Bool #(/=) :: CIno -> CIno -> Bool # Instance detailsDefined in System.Posix.Types Methods(==) :: CMode -> CMode -> Bool #(/=) :: CMode -> CMode -> Bool # Instance detailsDefined in System.Posix.Types Methods(==) :: COff -> COff -> Bool #(/=) :: COff -> COff -> Bool # Instance detailsDefined in System.Posix.Types Methods(==) :: CPid -> CPid -> Bool #(/=) :: CPid -> CPid -> Bool # Instance detailsDefined in System.Posix.Types Methods(==) :: CSsize -> CSsize -> Bool #(/=) :: CSsize -> CSsize -> Bool # Instance detailsDefined in System.Posix.Types Methods(==) :: CGid -> CGid -> Bool #(/=) :: CGid -> CGid -> Bool # Instance detailsDefined in System.Posix.Types Methods(==) :: CNlink -> CNlink -> Bool #(/=) :: CNlink -> CNlink -> Bool # Instance detailsDefined in System.Posix.Types Methods(==) :: CUid -> CUid -> Bool #(/=) :: CUid -> CUid -> Bool # Instance detailsDefined in System.Posix.Types Methods(==) :: CCc -> CCc -> Bool #(/=) :: CCc -> CCc -> Bool # Instance detailsDefined in System.Posix.Types Methods(==) :: CSpeed -> CSpeed -> Bool #(/=) :: CSpeed -> CSpeed -> Bool # Instance detailsDefined in System.Posix.Types Methods(==) :: CTcflag -> CTcflag -> Bool #(/=) :: CTcflag -> CTcflag -> Bool # Instance detailsDefined in System.Posix.Types Methods(==) :: CRLim -> CRLim -> Bool #(/=) :: CRLim -> CRLim -> Bool # Instance detailsDefined in System.Posix.Types Methods Instance detailsDefined in System.Posix.Types Methods(==) :: CBlkCnt -> CBlkCnt -> Bool #(/=) :: CBlkCnt -> CBlkCnt -> Bool # Instance detailsDefined in System.Posix.Types Methods Instance detailsDefined in System.Posix.Types Methods Instance detailsDefined in System.Posix.Types Methods Instance detailsDefined in System.Posix.Types Methods(==) :: CId -> CId -> Bool #(/=) :: CId -> CId -> Bool # Instance detailsDefined in System.Posix.Types Methods(==) :: CKey -> CKey -> Bool #(/=) :: CKey -> CKey -> Bool # Instance detailsDefined in System.Posix.Types Methods(==) :: CTimer -> CTimer -> Bool #(/=) :: CTimer -> CTimer -> Bool # Instance detailsDefined in System.Posix.Types Methods(==) :: Fd -> Fd -> Bool #(/=) :: Fd -> Fd -> Bool # Since: base-2.1 Instance detailsDefined in Foreign.C.Error Methods(==) :: Errno -> Errno -> Bool #(/=) :: Errno -> Errno -> Bool # Since: base-4.2.0.0 Instance detailsDefined in GHC.IO.Exception Methods Since: base-4.2.0.0 Instance detailsDefined in GHC.IO.Exception Methods Instance detailsDefined in GHC.IO.Exception Methods Since: base-4.1.0.0 Instance detailsDefined in GHC.IO.Exception Methods Since: base-4.2.0.0 Instance detailsDefined in GHC.IO.Handle.Types Methods Since: base-4.2.0.0 Instance detailsDefined in GHC.IO.Handle.Types Methods(==) :: Newline -> Newline -> Bool #(/=) :: Newline -> Newline -> Bool # Since: base-4.2.0.0 Instance detailsDefined in GHC.IO.Handle.Types Methods Since: base-4.2.0.0 Instance detailsDefined in GHC.IO.Device Methods Since: base-4.2.0.0 Instance detailsDefined in GHC.IO.Device Methods Since: base-4.4.0.0 Instance detailsDefined in GHC.IO.Encoding.Types Methods Since: base-4.3.0.0 Instance detailsDefined in GHC.IO Methods Since: base-4.1.0.0 Instance detailsDefined in GHC.IO.Exception Methods Since: base-4.7.0.0 Instance detailsDefined in GHC.Exception Methods Since: base-3.0 Instance detailsDefined in GHC.Exception.Type Methods Since: base-2.1 Instance detailsDefined in Data.Semigroup.Internal Methods(==) :: All -> All -> Bool #(/=) :: All -> All -> Bool # Since: base-2.1 Instance detailsDefined in Data.Semigroup.Internal Methods(==) :: Any -> Any -> Bool #(/=) :: Any -> Any -> Bool # Since: base-4.6.0.0 Instance detailsDefined in GHC.Generics Methods(==) :: Fixity -> Fixity -> Bool #(/=) :: Fixity -> Fixity -> Bool # Since: base-4.6.0.0 Instance detailsDefined in GHC.Generics Methods Since: base-4.9.0.0 Instance detailsDefined in GHC.Generics Methods Since: base-4.9.0.0 Instance detailsDefined in GHC.Generics Methods Since: base-4.9.0.0 Instance detailsDefined in GHC.Generics Methods Since: base-4.7.0.0 Instance detailsDefined in GHC.TypeNats Methods(==) :: SomeNat -> SomeNat -> Bool #(/=) :: SomeNat -> SomeNat -> Bool # Instance detailsDefined in Foreign.C.Types Methods(==) :: CChar -> CChar -> Bool #(/=) :: CChar -> CChar -> Bool # Instance detailsDefined in Foreign.C.Types Methods(==) :: CSChar -> CSChar -> Bool #(/=) :: CSChar -> CSChar -> Bool # Instance detailsDefined in Foreign.C.Types Methods(==) :: CUChar -> CUChar -> Bool #(/=) :: CUChar -> CUChar -> Bool # Instance detailsDefined in Foreign.C.Types Methods(==) :: CShort -> CShort -> Bool #(/=) :: CShort -> CShort -> Bool # Instance detailsDefined in Foreign.C.Types Methods(==) :: CUShort -> CUShort -> Bool #(/=) :: CUShort -> CUShort -> Bool # Instance detailsDefined in Foreign.C.Types Methods(==) :: CInt -> CInt -> Bool #(/=) :: CInt -> CInt -> Bool # Instance detailsDefined in Foreign.C.Types Methods(==) :: CUInt -> CUInt -> Bool #(/=) :: CUInt -> CUInt -> Bool # Instance detailsDefined in Foreign.C.Types Methods(==) :: CLong -> CLong -> Bool #(/=) :: CLong -> CLong -> Bool # Instance detailsDefined in Foreign.C.Types Methods(==) :: CULong -> CULong -> Bool #(/=) :: CULong -> CULong -> Bool # Instance detailsDefined in Foreign.C.Types Methods(==) :: CLLong -> CLLong -> Bool #(/=) :: CLLong -> CLLong -> Bool # Instance detailsDefined in Foreign.C.Types Methods(==) :: CULLong -> CULLong -> Bool #(/=) :: CULLong -> CULLong -> Bool # Instance detailsDefined in Foreign.C.Types Methods(==) :: CBool -> CBool -> Bool #(/=) :: CBool -> CBool -> Bool # Instance detailsDefined in Foreign.C.Types Methods(==) :: CFloat -> CFloat -> Bool #(/=) :: CFloat -> CFloat -> Bool # Instance detailsDefined in Foreign.C.Types Methods(==) :: CDouble -> CDouble -> Bool #(/=) :: CDouble -> CDouble -> Bool # Instance detailsDefined in Foreign.C.Types Methods Instance detailsDefined in Foreign.C.Types Methods(==) :: CSize -> CSize -> Bool #(/=) :: CSize -> CSize -> Bool # Instance detailsDefined in Foreign.C.Types Methods(==) :: CWchar -> CWchar -> Bool #(/=) :: CWchar -> CWchar -> Bool # Instance detailsDefined in Foreign.C.Types Methods Instance detailsDefined in Foreign.C.Types Methods(==) :: CClock -> CClock -> Bool #(/=) :: CClock -> CClock -> Bool # Instance detailsDefined in Foreign.C.Types Methods(==) :: CTime -> CTime -> Bool #(/=) :: CTime -> CTime -> Bool # Instance detailsDefined in Foreign.C.Types Methods Instance detailsDefined in Foreign.C.Types Methods Instance detailsDefined in Foreign.C.Types Methods(==) :: CIntPtr -> CIntPtr -> Bool #(/=) :: CIntPtr -> CIntPtr -> Bool # Instance detailsDefined in Foreign.C.Types Methods Instance detailsDefined in Foreign.C.Types Methods(==) :: CIntMax -> CIntMax -> Bool #(/=) :: CIntMax -> CIntMax -> Bool # Instance detailsDefined in Foreign.C.Types Methods Instance detailsDefined in Foreign.Ptr Methods(==) :: WordPtr -> WordPtr -> Bool #(/=) :: WordPtr -> WordPtr -> Bool # Instance detailsDefined in Foreign.Ptr Methods(==) :: IntPtr -> IntPtr -> Bool #(/=) :: IntPtr -> IntPtr -> Bool # Since: base-4.2.0.0 Instance detailsDefined in GHC.IO.IOMode Methods(==) :: IOMode -> IOMode -> Bool #(/=) :: IOMode -> IOMode -> Bool # Since: base-4.4.0.0 Instance detailsDefined in GHC.Fingerprint.Type Methods Since: base-2.1 Instance detailsDefined in Text.Read.Lex Methods(==) :: Lexeme -> Lexeme -> Bool #(/=) :: Lexeme -> Lexeme -> Bool # Since: base-4.6.0.0 Instance detailsDefined in Text.Read.Lex Methods(==) :: Number -> Number -> Bool #(/=) :: Number -> Number -> Bool # Since: base-2.1 Instance detailsDefined in GHC.Unicode Methods Since: base-4.9.0.0 Instance detailsDefined in GHC.Stack.Types Methods(==) :: SrcLoc -> SrcLoc -> Bool #(/=) :: SrcLoc -> SrcLoc -> Bool # Instance detailsDefined in Data.ByteString.Short.Internal Methods Instance detailsDefined in Data.ByteString.Lazy.Internal Methods Instance detailsDefined in Data.ByteString.Internal Methods Instance detailsDefined in Data.IntSet.Internal Methods(==) :: IntSet -> IntSet -> Bool #(/=) :: IntSet -> IntSet -> Bool # Instance detailsDefined in System.Directory.Internal.Common Methods Instance detailsDefined in System.Directory.Internal.Common Methods Instance detailsDefined in System.Directory.Internal.Common Methods Instance detailsDefined in System.Directory.Internal.Common Methods Instance detailsDefined in GHC.LanguageExtensions.Type Methods Instance detailsDefined in GHC.ForeignSrcLang.Type Methods Instance detailsDefined in Text.Parsec.Error Methods(==) :: Message -> Message -> Bool #(/=) :: Message -> Message -> Bool # Instance detailsDefined in Text.Parsec.Error Methods Instance detailsDefined in Text.Parsec.Pos Methods Instance detailsDefined in System.Process.Common Methods Instance detailsDefined in System.Process.Common Methods(==) :: CmdSpec -> CmdSpec -> Bool #(/=) :: CmdSpec -> CmdSpec -> Bool # Instance detailsDefined in System.Process.Common Methods Instance detailsDefined in Language.Haskell.TH.Syntax Methods(==) :: ModName -> ModName -> Bool #(/=) :: ModName -> ModName -> Bool # Instance detailsDefined in Language.Haskell.TH.Syntax Methods(==) :: PkgName -> PkgName -> Bool #(/=) :: PkgName -> PkgName -> Bool # Instance detailsDefined in Language.Haskell.TH.Syntax Methods(==) :: Module -> Module -> Bool #(/=) :: Module -> Module -> Bool # Instance detailsDefined in Language.Haskell.TH.Syntax Methods(==) :: OccName -> OccName -> Bool #(/=) :: OccName -> OccName -> Bool # Instance detailsDefined in Language.Haskell.TH.Syntax Methods Instance detailsDefined in Language.Haskell.TH.Syntax Methods Instance detailsDefined in Language.Haskell.TH.Syntax Methods(==) :: Loc -> Loc -> Bool #(/=) :: Loc -> Loc -> Bool # Instance detailsDefined in Language.Haskell.TH.Syntax Methods(==) :: Info -> Info -> Bool #(/=) :: Info -> Info -> Bool # Instance detailsDefined in Language.Haskell.TH.Syntax Methods Instance detailsDefined in Language.Haskell.TH.Syntax Methods(==) :: Fixity -> Fixity -> Bool #(/=) :: Fixity -> Fixity -> Bool # Instance detailsDefined in Language.Haskell.TH.Syntax Methods Instance detailsDefined in Language.Haskell.TH.Syntax Methods(==) :: Lit -> Lit -> Bool #(/=) :: Lit -> Lit -> Bool # Instance detailsDefined in Language.Haskell.TH.Syntax Methods(==) :: Body -> Body -> Bool #(/=) :: Body -> Body -> Bool # Instance detailsDefined in Language.Haskell.TH.Syntax Methods(==) :: Guard -> Guard -> Bool #(/=) :: Guard -> Guard -> Bool # Instance detailsDefined in Language.Haskell.TH.Syntax Methods(==) :: Stmt -> Stmt -> Bool #(/=) :: Stmt -> Stmt -> Bool # Instance detailsDefined in Language.Haskell.TH.Syntax Methods(==) :: Range -> Range -> Bool #(/=) :: Range -> Range -> Bool # Instance detailsDefined in Language.Haskell.TH.Syntax Methods Instance detailsDefined in Language.Haskell.TH.Syntax Methods Instance detailsDefined in Language.Haskell.TH.Syntax Methods Instance detailsDefined in Language.Haskell.TH.Syntax Methods Instance detailsDefined in Language.Haskell.TH.Syntax Methods(==) :: Foreign -> Foreign -> Bool #(/=) :: Foreign -> Foreign -> Bool # Instance detailsDefined in Language.Haskell.TH.Syntax Methods Instance detailsDefined in Language.Haskell.TH.Syntax Methods(==) :: Safety -> Safety -> Bool #(/=) :: Safety -> Safety -> Bool # Instance detailsDefined in Language.Haskell.TH.Syntax Methods(==) :: Pragma -> Pragma -> Bool #(/=) :: Pragma -> Pragma -> Bool # Instance detailsDefined in Language.Haskell.TH.Syntax Methods(==) :: Inline -> Inline -> Bool #(/=) :: Inline -> Inline -> Bool # Instance detailsDefined in Language.Haskell.TH.Syntax Methods Instance detailsDefined in Language.Haskell.TH.Syntax Methods(==) :: Phases -> Phases -> Bool #(/=) :: Phases -> Phases -> Bool # Instance detailsDefined in Language.Haskell.TH.Syntax Methods Instance detailsDefined in Language.Haskell.TH.Syntax Methods Instance detailsDefined in Language.Haskell.TH.Syntax Methods Instance detailsDefined in Language.Haskell.TH.Syntax Methods Instance detailsDefined in Language.Haskell.TH.Syntax Methods Instance detailsDefined in Language.Haskell.TH.Syntax Methods(==) :: Con -> Con -> Bool #(/=) :: Con -> Con -> Bool # Instance detailsDefined in Language.Haskell.TH.Syntax Methods(==) :: Bang -> Bang -> Bool #(/=) :: Bang -> Bang -> Bool # Instance detailsDefined in Language.Haskell.TH.Syntax Methods Instance detailsDefined in Language.Haskell.TH.Syntax Methods Instance detailsDefined in Language.Haskell.TH.Syntax Methods Instance detailsDefined in Language.Haskell.TH.Syntax Methods Instance detailsDefined in Language.Haskell.TH.Syntax Methods(==) :: TyLit -> TyLit -> Bool #(/=) :: TyLit -> TyLit -> Bool # Instance detailsDefined in Language.Haskell.TH.Syntax Methods(==) :: Role -> Role -> Bool #(/=) :: Role -> Role -> Bool # Instance detailsDefined in Language.Haskell.TH.Syntax Methods Instance detailsDefined in Data.Text.Encoding.Error Methods Instance detailsDefined in Data.Time.Format.Locale Methods Instance detailsDefined in Data.Time.LocalTime.Internal.LocalTime Methods Instance detailsDefined in Data.Time.LocalTime.Internal.TimeOfDay Methods Instance detailsDefined in Data.Time.LocalTime.Internal.TimeZone Methods Instance detailsDefined in Data.Time.Clock.Internal.UniversalTime Methods Instance detailsDefined in Data.Time.Clock.Internal.UTCTime Methods(==) :: UTCTime -> UTCTime -> Bool #(/=) :: UTCTime -> UTCTime -> Bool # Instance detailsDefined in Data.Time.Clock.Internal.DiffTime Methods Instance detailsDefined in Data.Time.Calendar.Days Methods(==) :: Day -> Day -> Bool #(/=) :: Day -> Day -> Bool # Source # Instance detailsDefined in Darcs.Patch.Format Methods Eq CalendarTime Instance detailsDefined in System.Time Methods(==) :: CalendarTime -> CalendarTime -> Bool #(/=) :: CalendarTime -> CalendarTime -> Bool # Eq ClockTime Instance detailsDefined in System.Time Methods(==) :: ClockTime -> ClockTime -> Bool #(/=) :: ClockTime -> ClockTime -> Bool # Eq Day Instance detailsDefined in System.Time Methods(==) :: Day -> Day -> Bool #(/=) :: Day -> Day -> Bool # Eq Month Instance detailsDefined in System.Time Methods(==) :: Month -> Month -> Bool #(/=) :: Month -> Month -> Bool # Eq TimeDiff Instance detailsDefined in System.Time Methods(==) :: TimeDiff -> TimeDiff -> Bool #(/=) :: TimeDiff -> TimeDiff -> Bool # Source # Instance detailsDefined in Darcs.Util.Download.Request Methods Source # Instance detailsDefined in Darcs.Util.Download.Request Methods Source # Instance detailsDefined in Darcs.Util.Download.Request Methods Eq CompressionLevel Instance detailsDefined in Codec.Compression.Zlib.Stream Methods(==) :: CompressionLevel -> CompressionLevel -> Bool #(/=) :: CompressionLevel -> CompressionLevel -> Bool # Eq CompressionStrategy Instance detailsDefined in Codec.Compression.Zlib.Stream Methods(==) :: CompressionStrategy -> CompressionStrategy -> Bool #(/=) :: CompressionStrategy -> CompressionStrategy -> Bool # Eq MemoryLevel Instance detailsDefined in Codec.Compression.Zlib.Stream Methods(==) :: MemoryLevel -> MemoryLevel -> Bool #(/=) :: MemoryLevel -> MemoryLevel -> Bool # Eq Method Instance detailsDefined in Codec.Compression.Zlib.Stream Methods(==) :: Method -> Method -> Bool #(/=) :: Method -> Method -> Bool # Eq WindowBits Instance detailsDefined in Codec.Compression.Zlib.Stream Methods(==) :: WindowBits -> WindowBits -> Bool #(/=) :: WindowBits -> WindowBits -> Bool # Eq DecompressError Instance detailsDefined in Codec.Compression.Zlib.Internal Methods(==) :: DecompressError -> DecompressError -> Bool #(/=) :: DecompressError -> DecompressError -> Bool # Eq Format Instance detailsDefined in Codec.Compression.Zlib.Stream Methods(==) :: Format -> Format -> Bool #(/=) :: Format -> Format -> Bool # Eq Mode Instance detailsDefined in System.IO.MMap Methods(==) :: Mode -> Mode -> Bool #(/=) :: Mode -> Mode -> Bool # Eq DictionaryHash Instance detailsDefined in Codec.Compression.Zlib.Stream Methods(==) :: DictionaryHash -> DictionaryHash -> Bool #(/=) :: DictionaryHash -> DictionaryHash -> Bool # Source # Instance detailsDefined in Darcs.Util.Diff Methods Source # Instance detailsDefined in Darcs.Repository.Flags Methods Source # Instance detailsDefined in Darcs.Repository.Flags Methods Source # Instance detailsDefined in Darcs.Repository.Flags Methods Source # Instance detailsDefined in Darcs.Repository.Flags Methods Source # Instance detailsDefined in Darcs.Repository.Flags Methods Source # Instance detailsDefined in Darcs.Repository.Flags Methods Source # Instance detailsDefined in Darcs.Repository.Flags Methods Source # Instance detailsDefined in Darcs.Repository.Flags Methods Source # Instance detailsDefined in Darcs.Repository.Flags Methods Source # Instance detailsDefined in Darcs.Repository.Flags Methods Source # Instance detailsDefined in Darcs.Repository.Flags Methods Source # Instance detailsDefined in Darcs.Repository.Flags Methods Source # Instance detailsDefined in Darcs.Repository.Flags Methods Source # Instance detailsDefined in Darcs.Repository.Flags Methods Source # Instance detailsDefined in Darcs.Repository.Flags Methods(==) :: RunTest -> RunTest -> Bool #(/=) :: RunTest -> RunTest -> Bool # Source # Instance detailsDefined in Darcs.Repository.Flags Methods Source # Instance detailsDefined in Darcs.Repository.Flags Methods Source # Instance detailsDefined in Darcs.Repository.Flags Methods Source # Instance detailsDefined in Darcs.Repository.Flags Methods Source # Instance detailsDefined in Darcs.Repository.Flags Methods(==) :: UMask -> UMask -> Bool #(/=) :: UMask -> UMask -> Bool # Source # Instance detailsDefined in Darcs.Repository.Flags Methods(==) :: DryRun -> DryRun -> Bool #(/=) :: DryRun -> DryRun -> Bool # Source # Instance detailsDefined in Darcs.Repository.Flags Methods Source # Instance detailsDefined in Darcs.Repository.Flags Methods Source # Instance detailsDefined in Darcs.Repository.Flags Methods(==) :: Reorder -> Reorder -> Bool #(/=) :: Reorder -> Reorder -> Bool # Source # Instance detailsDefined in Darcs.Repository.Flags Methods Source # Instance detailsDefined in Darcs.Repository.Flags Methods Source # Instance detailsDefined in Darcs.Repository.Flags Methods Source # Instance detailsDefined in Darcs.Repository.Flags Methods Eq Encoding Instance detailsDefined in Basement.String Methods(==) :: Encoding -> Encoding -> Bool #(/=) :: Encoding -> Encoding -> Bool # Eq String Instance detailsDefined in Basement.UTF8.Base Methods(==) :: String -> String -> Bool #(/=) :: String -> String -> Bool # Eq ASCII7_Invalid Instance detailsDefined in Basement.String.Encoding.ASCII7 Methods(==) :: ASCII7_Invalid -> ASCII7_Invalid -> Bool #(/=) :: ASCII7_Invalid -> ASCII7_Invalid -> Bool # Eq ISO_8859_1_Invalid Instance detailsDefined in Basement.String.Encoding.ISO_8859_1 Methods(==) :: ISO_8859_1_Invalid -> ISO_8859_1_Invalid -> Bool #(/=) :: ISO_8859_1_Invalid -> ISO_8859_1_Invalid -> Bool # Eq UTF16_Invalid Instance detailsDefined in Basement.String.Encoding.UTF16 Methods(==) :: UTF16_Invalid -> UTF16_Invalid -> Bool #(/=) :: UTF16_Invalid -> UTF16_Invalid -> Bool # Eq UTF32_Invalid Instance detailsDefined in Basement.String.Encoding.UTF32 Methods(==) :: UTF32_Invalid -> UTF32_Invalid -> Bool #(/=) :: UTF32_Invalid -> UTF32_Invalid -> Bool # Eq FileSize Instance detailsDefined in Basement.Types.OffsetSize Methods(==) :: FileSize -> FileSize -> Bool #(/=) :: FileSize -> FileSize -> Bool # Source # Instance detailsDefined in Darcs.Util.Hash Methods(==) :: SHA1 -> SHA1 -> Bool #(/=) :: SHA1 -> SHA1 -> Bool # Source # Instance detailsDefined in Darcs.Util.Hash Methods(==) :: Hash -> Hash -> Bool #(/=) :: Hash -> Hash -> Bool # Source # Instance detailsDefined in Darcs.Patch.Choices Methods(==) :: Label -> Label -> Bool #(/=) :: Label -> Label -> Bool # Source # Instance detailsDefined in Darcs.Util.Ssh Methods Source # Instance detailsDefined in Darcs.Util.Path Methods Source # Instance detailsDefined in Darcs.Util.Path Methods(==) :: Name -> Name -> Bool #(/=) :: Name -> Name -> Bool # Source # Instance detailsDefined in Darcs.Util.Path Methods Source # Instance detailsDefined in Darcs.Util.Path Methods Source # Instance detailsDefined in Darcs.Util.Path Methods Source # Instance detailsDefined in Darcs.Util.Path Methods(==) :: SubPath -> SubPath -> Bool #(/=) :: SubPath -> SubPath -> Bool # Source # Instance detailsDefined in Darcs.Util.Path Methods Source # Instance detailsDefined in Darcs.Util.Tree Methods Source # Instance detailsDefined in Darcs.UI.Options.Flags Methods Source # Instance detailsDefined in Darcs.Patch.SummaryData Methods(==) :: SummOp -> SummOp -> Bool #(/=) :: SummOp -> SummOp -> Bool # Source # Instance detailsDefined in Darcs.Patch.SummaryData Methods Source # Instance detailsDefined in Darcs.Patch.Prim.FileUUID.ObjectMap Methods Source # Instance detailsDefined in Darcs.Patch.Prim.FileUUID.ObjectMap Methods(==) :: UUID -> UUID -> Bool #(/=) :: UUID -> UUID -> Bool # Source # Instance detailsDefined in Darcs.Patch.Index.Types Methods(==) :: PatchId -> PatchId -> Bool #(/=) :: PatchId -> PatchId -> Bool # Source # Instance detailsDefined in Darcs.Patch.Index.Types Methods(==) :: FileId -> FileId -> Bool #(/=) :: FileId -> FileId -> Bool # Source # Instance detailsDefined in Darcs.Patch.Info Methods Source # Instance detailsDefined in Darcs.Patch.Conflict Methods Eq DoPa Instance detailsDefined in Text.Regex.TDFA.Common Methods(==) :: DoPa -> DoPa -> Bool #(/=) :: DoPa -> DoPa -> Bool # Source # Instance detailsDefined in Darcs.Patch.Match Methods Eq Action Instance detailsDefined in Text.Regex.TDFA.Common Methods(==) :: Action -> Action -> Bool #(/=) :: Action -> Action -> Bool # Eq OP Instance detailsDefined in Text.Regex.TDFA.Common Methods(==) :: OP -> OP -> Bool #(/=) :: OP -> OP -> Bool # Eq QT Instance detailsDefined in Text.Regex.TDFA.Common Methods(==) :: QT -> QT -> Bool #(/=) :: QT -> QT -> Bool # Eq TagTask Instance detailsDefined in Text.Regex.TDFA.Common Methods(==) :: TagTask -> TagTask -> Bool #(/=) :: TagTask -> TagTask -> Bool # Eq TagUpdate Instance detailsDefined in Text.Regex.TDFA.Common Methods(==) :: TagUpdate -> TagUpdate -> Bool #(/=) :: TagUpdate -> TagUpdate -> Bool # Eq WhichTest Instance detailsDefined in Text.Regex.TDFA.Common Methods(==) :: WhichTest -> WhichTest -> Bool #(/=) :: WhichTest -> WhichTest -> Bool # Source # Instance detailsDefined in Darcs.UI.Options.All Methods Source # Instance detailsDefined in Darcs.UI.Options.All Methods Source # Instance detailsDefined in Darcs.UI.Options.All Methods Source # Instance detailsDefined in Darcs.UI.Options.All Methods(==) :: Summary -> Summary -> Bool #(/=) :: Summary -> Summary -> Bool # Source # Instance detailsDefined in Darcs.UI.Options.All Methods(==) :: Output -> Output -> Bool #(/=) :: Output -> Output -> Bool # Source # Instance detailsDefined in Darcs.UI.Options.All Methods(==) :: Verify -> Verify -> Bool #(/=) :: Verify -> Verify -> Bool # Source # Instance detailsDefined in Darcs.UI.Options.All Methods(==) :: Sign -> Sign -> Bool #(/=) :: Sign -> Sign -> Bool # Source # Instance detailsDefined in Darcs.UI.Options.All Methods Source # Instance detailsDefined in Darcs.UI.Options.All Methods Source # Instance detailsDefined in Darcs.UI.Options.All Methods Source # Instance detailsDefined in Darcs.UI.Options.All Methods Source # Instance detailsDefined in Darcs.UI.Options.All Methods Source # Instance detailsDefined in Darcs.UI.Options.All Methods Source # Instance detailsDefined in Darcs.UI.Options.All Methods Source # Instance detailsDefined in Darcs.UI.Options.All Methods Source # Instance detailsDefined in Darcs.UI.Options.All Methods Source # Instance detailsDefined in Darcs.UI.Options.All Methods Eq RequestMethod