HORIZON HASKELLDocslts/ghc-9.10.x248f8f02026-10-05Search names, modules, packages, or :: a typeCtrl K

GHC 9.10.3 · lts/ghc-9.10.x · 248f8f0 · 2026-10-05

Modulebyteable-0.1.1Haskell98

Data.Byteable

  • 1 class
  • 1 value
  • Packagebyteable-0.1.1
  • Exports2
  • LanguageHaskell98
  • LicenceBSD-3-Clause
  • SourceByteable.hs
valueconstEqBytes :: Byteable a => a -> a -> Bool
#

A constant time equality test for 2 byteable objects.

If objects are of 2 different sizes, the function will abort early without comparing any bytes.

compared to == , this function will go over all the bytes present before yielding a result even when knowing the overall result early in the processing.