HORIZON HASKELLDocslts/ghc-10.0.x77a86622026-10-31Search packagesCtrl K
Theme: |

GHC 10.0.0.20260917 · lts/ghc-10.0.x · 77a8662 · 2026-10-31

Modulebyteable-0.1.1Haskell98

Data.Byteable

Synopsis
  • 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.