Eq

class Eq a
base Prelude, base Data.Eq
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. Minimal complete definition: either == or /=.
module Data.Eq
base Data.Eq
Equality
package Eq
package
Haskell formula manipulation program Version 1.1.3
Equal :: ComparisonFunction
OpenGL Graphics.Rendering.OpenGL.GL.PerFragment
EqualP :: Type -> Type -> Pred
template-haskell Language.Haskell.TH.Syntax, template-haskell Language.Haskell.TH
> F a ~ Bool
Equals :: Token
haskell-src Language.Haskell.Lexer
Equiv :: LogicOp
OpenGL Graphics.Rendering.OpenGL.GL.PerFragment
EQ :: Ordering
base Prelude, base Data.Ord
package eq
package
Leibnizian equality Version 4.0
equal :: Array -> Int -> Array -> Int -> Int -> Bool
text Data.Text.Array
Compare portions of two arrays for equality. No bounds checking is performed.
equal :: (Eq a, Eq b, Graph gr) => gr a b -> gr a b -> Bool
fgl Data.Graph.Inductive.Graph
package equal-files
package
Shell command that finds files with equal content in a given set of files. This is useful for finding duplicates in a set of documents where the same document might have been stored by accident with different names. Use it like > equal-files `find my_dir -type f` or > find my_dir -type f | xargs equal-files If the file names contain spaces, better use > find my_dir -type f -printf "'%p'\n" | xargs equal-files or > equal_files -r my_dir The program reads all input files simultaneously, driven by sorting and grouping of their content. However be prepared that due to the simultaneous access you may exceed the admissible number of opened files. Thus you may prefer to run it like > equal_files -r -p 512 my_dir The program can be used as a nice example of a declarative yet efficient implementation of a non-trivial algorithm, that is enabled by lazy evaluation. Version 0.0.4
equalFilePath :: FilePath -> FilePath -> Bool
filepath System.FilePath.Windows, filepath System.FilePath.Posix
Equality of two FilePaths. If you call System.Directory.canonicalizePath first this has a much better chance of working. Note that this doesn't follow symlinks or DOSNAM~1s. > x == y ==> equalFilePath x y > normalise x == normalise y ==> equalFilePath x y > Posix: equalFilePath "foo" "foo/" > Posix: not (equalFilePath "foo" "/foo") > Posix: not (equalFilePath "foo" "FOO") > Windows: equalFilePath "foo" "FOO"
equalP :: TypeQ -> TypeQ -> PredQ
template-haskell Language.Haskell.TH.Lib, template-haskell Language.Haskell.TH
equals :: Doc
pretty Text.PrettyPrint.HughesPJ, pretty Text.PrettyPrint
equals :: Doc
template-haskell Language.Haskell.TH.PprLib
A '=' character
package equational-reasoning
package
package equivalence
package
This is an implementation of Tarjan's Union-Find algorithm (Robert E. Tarjan. "Efficiency of a Good But Not Linear Set Union Algorithm", JACM 22(2), 1975) in order to maintain an equivalence relation. This implementation is a port of the union-find package using the ST monad transformer (instead of the IO monad). Version 0.2.3
seq :: a -> b -> b
base Prelude
Evaluates its first argument to head normal form, and then returns its second argument as the result.
sequence :: Monad m => [m a] -> m [a]
base Prelude, base Control.Monad
Evaluate each action in the sequence from left to right, and collect the results.

Show more results