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

GHC 10.0.0.20260917 · lts/ghc-10.0.x · fc4e598 · 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