Hoogle Search

Within LTS Haskell 24.45 (ghc-9.10.3)

Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.

  1. anyAsciiHexWord_# :: Word# -> Addr# -> Addr# -> (# (# #) | (# Word#, Addr# #) #)

    flatparse FlatParse.Common.Numbers

    No documentation available.

  2. anyVarintProtobuf# :: Addr# -> Addr# -> (# (# #) | (# Int#, Addr#, Int# #) #)

    flatparse FlatParse.Common.Numbers

    protobuf style (LE, redundant, on continues)

  3. anyAsciiChar :: forall (st :: ZeroBitType) r e . ParserT st r e Char

    flatparse FlatParse.Stateful

    Parse any single ASCII character (a single byte) as a Char. More efficient than anyChar for ASCII-only input.

  4. anyAsciiDecimalInt :: forall (st :: ZeroBitType) r e . ParserT st r e Int

    flatparse FlatParse.Stateful

    Parse a non-empty ASCII decimal digit sequence as a positive Int. Fails on overflow.

  5. anyAsciiDecimalInteger :: forall (st :: ZeroBitType) r e . ParserT st r e Integer

    flatparse FlatParse.Stateful

    Parse a non-empty ASCII decimal digit sequence as a positive Integer.

  6. anyAsciiDecimalWord :: forall (st :: ZeroBitType) r e . ParserT st r e Word

    flatparse FlatParse.Stateful

    Parse a non-empty ASCII decimal digit sequence as a Word. Fails on overflow.

  7. anyAsciiHexInt :: forall (st :: ZeroBitType) r e . ParserT st r e Int

    flatparse FlatParse.Stateful

    Parse a non-empty, case-insensitive ASCII hexadecimal digit sequence as a positive Int. Fails on overflow.

  8. anyAsciiHexWord :: forall (st :: ZeroBitType) r e . ParserT st r e Word

    flatparse FlatParse.Stateful

    Parse a non-empty, case-insensitive ASCII hexadecimal digit sequence as a Word. Fails on overflow.

  9. anyCString :: forall (st :: ZeroBitType) r e . ParserT st r e ByteString

    flatparse FlatParse.Stateful

    Read a null-terminated bytestring (a C-style string). Consumes the null terminator.

  10. anyCStringUnsafe :: forall (st :: ZeroBitType) r e . ParserT st r e ByteString

    flatparse FlatParse.Stateful

    Read a null-terminated bytestring (a C-style string), where the bytestring is known to be null-terminated somewhere in the input. Highly unsafe. Unless you have a guarantee that the string will be null terminated before the input ends, use anyCString instead. Honestly, I'm not sure if this is a good function to define. But here it is. Fails on GHC versions older than 9.0, since we make use of the cstringLength# primop introduced in GHC 9.0, and we aren't very useful without it. Consumes the null terminator.

Page 64 of many | Previous | Next