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

Modulescanner-0.3.1Haskell2010

Scanner.Internal

Scanner implementation

  • 3 types
  • 12 values
  • Packagescanner-0.3.1
  • Exports15
  • LanguageHaskell2010
  • LicenceBSD-3-Clause
  • SourceInternal.hs
valuestring :: ByteString -> Scanner ()
#

Consume the specified string

Warning: it is not optimized yet, so for for small string it is better to consume it byte-by-byte using word8

valuefoldlWhile1 :: (Word8 -> Bool) -> (a -> Word8 -> a) -> a -> Scanner a
#

Fold over the octets, which satisfy the predicate, ensuring that there's at least one