Hoogle Search

Within LTS Haskell 24.18 (ghc-9.10.3)

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

  1. eqDefault :: (GEq (Rep1 f a), Generic1 f) => f a -> f a -> Bool

    transformers-compat Data.Functor.Classes.Generic.Internal

    A default (==) implementation for Generic1 instances that leverages Eq1.

  2. equating :: Eq b => (a -> b) -> a -> a -> Bool

    utility-ht Data.Eq.HT

    No documentation available.

  3. equalWith :: (a -> b -> Bool) -> [a] -> [b] -> Bool

    utility-ht Data.List.HT

    >>> equalWith (<=) "ab" "bb"
    True
    
    >>> equalWith (<=) "aa" "bbb"
    False
    
    >>> equalWith (==) "aa" "aaa"
    False
    
    \as bs -> let f a b = abs (a-b) <= (10::Int) in equalWith f as bs ==  equalWithRec f as bs
    
    \as bs -> let f a b = abs (a-b) <= (10::Int) in equalWith f as bs ==  equalWithLiftM f as bs
    

  4. equalLength :: [a] -> [b] -> Bool

    utility-ht Data.List.Match

    Check whether two lists with different element types have equal length. It holds

    \(Shape xs) (List ys) -> equalLength xs ys == (length xs == length ys)
    
    but equalLength is more efficient.

  5. equal :: [a -> a -> Bool] -> a -> a -> Bool

    utility-ht Data.Record.HT

    Check whether a selected set of fields of two records is equal. Example:

    equal [equating fst, equating snd]
    

  6. equalCookie :: Cookie -> Cookie -> Bool

    http-conduit Network.HTTP.Client.Conduit

    Instead of (==). Since there was some confusion in the history of this library about how the Eq instance should work, it was removed for clarity, and replaced by equal and equiv. equal gives you equality of all fields of the Cookie record.

  7. equalCookieJar :: CookieJar -> CookieJar -> Bool

    http-conduit Network.HTTP.Client.Conduit

    See equalCookie.

  8. equivCookie :: Cookie -> Cookie -> Bool

    http-conduit Network.HTTP.Client.Conduit

    Equality of name, domain, path only. This corresponds to step 11 of the algorithm described in Section 5.3 "Storage Model". See also: equal.

  9. equivCookieJar :: CookieJar -> CookieJar -> Bool

    http-conduit Network.HTTP.Client.Conduit

    See equalCookieJar, equalCookie.

  10. equalPred :: Type -> Type -> Pred

    th-abstraction Language.Haskell.TH.Datatype

    Construct an equality constraint. The implementation of Pred varies across versions of Template Haskell.

Page 56 of many | Previous | Next