Hoogle Search

Within LTS Haskell 24.70 (ghc-9.10.3)

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

  1. type ByteOffset = Int64

    cborg Codec.CBOR.Decoding

    A 0-based offset within the overall byte sequence that makes up the input to the Decoder. This is an Int64 since Decoder is incremental and can decode more data than fits in memory at once. This is also compatible with the result type of length.

  2. PeekByteOffset :: (Int# -> ST s (DecodeAction s a)) -> DecodeAction s a

    cborg Codec.CBOR.Decoding

    No documentation available.

  3. peekByteOffset :: Decoder s ByteOffset

    cborg Codec.CBOR.Decoding

    Get the current ByteOffset in the input byte sequence of the Decoder. The Decoder does not provide any facility to get at the input data directly (since that is tricky with an incremental decoder). The next best is this primitive which can be used to keep track of the offset within the input bytes that makes up the encoded form of a term. By keeping track of the byte offsets before and after decoding a subterm (a pattern captured by decodeWithByteSpan) and if the overall input data is retained then this is enables later retrieving the span of bytes for the subterm.

  4. type ByteOffset = Int64

    cborg Codec.CBOR.Read

    A 0-based offset within the overall byte sequence that makes up the input to the Decoder. This is an Int64 since Decoder is incremental and can decode more data than fits in memory at once. This is also compatible with the result type of length.

  5. package charset

    Fast unicode character sets based on complemented PATRICIA tries Fast unicode character sets based on complemented PATRICIA tries.

  6. module Data.CharSet

    A CharSet is an efficient representation of a set of Char values designed for fast membership tests. As an example build isAlpha will create a set of alphabetic characters. We can then use member on the generated set to efficiently test if a given Char represents an alphabetic character. Designed to be imported qualified:

    import Data.CharSet (CharSet)
    import qualified Data.CharSet as CharSet
    

  7. data CharSet

    charset Data.CharSet

    Stored as a (possibly negated) IntSet and a fast set used for the head byte. The set of valid (possibly negated) head bytes is stored unboxed as a 32-byte bytestring-based lookup table.

  8. CharSet :: Bool -> ByteSet -> IntSet -> CharSet

    charset Data.CharSet

    No documentation available.

  9. fromCharSet :: CharSet -> (Bool, IntSet)

    charset Data.CharSet

    No documentation available.

  10. isSubsetOf :: CharSet -> CharSet -> Bool

    charset Data.CharSet

    No documentation available.

Page 1506 of many | Previous | Next