HORIZON HASKELLDocslts/ghc-9.14.x45dd5372026-10-11Search names, modules, packages, or :: a typeCtrl K

GHC 9.14.1 · lts/ghc-9.14.x · 45dd537 · 2026-10-11

Modulescanner-0.3.2Haskell2010

Scanner.Internal

Scanner implementation

  • 3 types
  • 12 values
  • Packagescanner-0.3.2
  • 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