Hoogle Search

Within LTS Haskell 24.38 (ghc-9.10.3)

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

  1. geq :: Data a => a -> a -> Bool

    syb Data.Generics.Twins

    Generic equality: an alternative to "deriving Eq"

  2. fileEq :: FilePath -> FilePath -> IO Bool

    extra Extra

    Returns True if both files have the same content. Raises an error if either file is missing.

    fileEq "does_not_exist1" "does_not_exist2" == undefined
    fileEq "does_not_exist" "does_not_exist" == undefined
    withTempFile $ \f1 -> fileEq "does_not_exist" f1 == undefined
    withTempFile $ \f1 -> withTempFile $ \f2 -> fileEq f1 f2
    withTempFile $ \f1 -> withTempFile $ \f2 -> writeFile f1 "a" >> writeFile f2 "a" >> fileEq f1 f2
    withTempFile $ \f1 -> withTempFile $ \f2 -> writeFile f1 "a" >> writeFile f2 "b" >> notM (fileEq f1 f2)
    

  3. fileEq :: FilePath -> FilePath -> IO Bool

    extra System.IO.Extra

    Returns True if both files have the same content. Raises an error if either file is missing.

    fileEq "does_not_exist1" "does_not_exist2" == undefined
    fileEq "does_not_exist" "does_not_exist" == undefined
    withTempFile $ \f1 -> fileEq "does_not_exist" f1 == undefined
    withTempFile $ \f1 -> withTempFile $ \f2 -> fileEq f1 f2
    withTempFile $ \f1 -> withTempFile $ \f2 -> writeFile f1 "a" >> writeFile f2 "a" >> fileEq f1 f2
    withTempFile $ \f1 -> withTempFile $ \f2 -> writeFile f1 "a" >> writeFile f2 "b" >> notM (fileEq f1 f2)
    

  4. bisequenceA1_ :: (Bifoldable1 t, Apply f) => t (f a) (f b) -> f ()

    semigroupoids Data.Semigroup.Bifoldable

    No documentation available.

  5. bisequence1 :: (Bitraversable1 t, Apply f) => t (f a) (f b) -> f (t a b)

    semigroupoids Data.Semigroup.Bitraversable

    No documentation available.

  6. sequenceA1_ :: (Foldable1 t, Apply f) => t (f a) -> f ()

    semigroupoids Data.Semigroup.Foldable

    No documentation available.

  7. gsequence1 :: (Traversable1 (Rep1 t), Apply f, Generic1 t) => t (f b) -> f (t b)

    semigroupoids Data.Semigroup.Traversable

    Generic sequence1. Caveats are the same for gtraverse1.

  8. sequence1 :: (Traversable1 t, Apply f) => t (f b) -> f (t b)

    semigroupoids Data.Semigroup.Traversable

    No documentation available.

  9. bisequence1 :: (Bitraversable1 t, Apply f) => t (f a) (f b) -> f (t a b)

    semigroupoids Data.Semigroup.Traversable.Class

    No documentation available.

  10. sequence1 :: (Traversable1 t, Apply f) => t (f b) -> f (t b)

    semigroupoids Data.Semigroup.Traversable.Class

    No documentation available.

Page 171 of many | Previous | Next