Hoogle Search

Within LTS Haskell 24.6 (ghc-9.10.2)

Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.

  1. equals :: Doc a

    wl-pprint-annotated Text.PrettyPrint.Annotated.WL

    The document equals contains an equal sign, "=".

  2. equal :: (Show a, Eq a) => a -> a -> Assertion

    chell Test.Chell

    Assert that two values are equal.

  3. equalItems :: (Foldable container, Show item, Ord item) => container item -> container item -> Assertion

    chell Test.Chell

    Assert that two containers have the same items, in the same order.

  4. equalLines :: (Ord a, IsText a) => a -> a -> Assertion

    chell Test.Chell

    Assert that two pieces of text are equal. This uses a diff algorithm to check line-by-line, so the error message will be easier to read on large inputs.

  5. equalLinesWith :: Ord a => (a -> [String]) -> a -> a -> Assertion

    chell Test.Chell

    Variant of equalLines which allows a user-specified line-splitting predicate.

  6. equalWithin :: (Real a, Show a) => a -> a -> a -> Assertion

    chell Test.Chell

    Assert that two values are within some delta of each other.

  7. equatorialGuinea :: Country

    country Country.Identifier

    Equatorial Guinea

  8. equivalentTo :: Ord o => Sig s1 o x -> Sig s2 o x -> RefinementProperty o x

    dejafu Test.DejaFu.Refinement

    Observational equivalence. True iff the result-set of the left expression is equal to the result-set of the right expression. The two signatures can have different state types, this lets you compare the behaviour of different data structures. The observation and seed types must match, however.

  9. equalShape :: DirTree a -> DirTree b -> Bool

    directory-tree System.Directory.Tree

    Tests equality of two trees, ignoring their free variable portion. Can be used to check if any files have been added or deleted, for instance.

  10. equalFilePath :: FilePath -> FilePath -> Bool

    easy-file System.EasyFile

    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"
    

Page 107 of many | Previous | Next