Hoogle Search
Within LTS Haskell 24.31 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
-
prettyprinter Prettyprinter >>> equals =
-
prettyprinter Prettyprinter.Symbols.Ascii >>> equals =
equating :: Eq b => (a -> b) -> a -> a -> Boolutility-ht Data.Eq.HT No documentation available.
equalWith :: (a -> b -> Bool) -> [a] -> [b] -> Boolutility-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
equalLength :: [a] -> [b] -> Boolutility-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.equal :: [a -> a -> Bool] -> a -> a -> Boolutility-ht Data.Record.HT Check whether a selected set of fields of two records is equal. Example:
equal [equating fst, equating snd]
equalCookie :: Cookie -> Cookie -> Boolhttp-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.
equalCookieJar :: CookieJar -> CookieJar -> Boolhttp-conduit Network.HTTP.Client.Conduit See equalCookie.
equivCookie :: Cookie -> Cookie -> Boolhttp-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.
equivCookieJar :: CookieJar -> CookieJar -> Boolhttp-conduit Network.HTTP.Client.Conduit See equalCookieJar, equalCookie.