Hoogle Search

Within LTS Haskell 24.62 (ghc-9.10.3)

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

  1. isValidUtf8ByteArrayPinned :: ByteArray -> Int -> Int -> Bool

    text Data.Text.Internal.Validate

    This uses the safe FFI. GC may run concurrently with safe FFI calls. Consequently, unpinned objects may be relocated while a safe FFI call is executing. The byte array argument must be pinned, and the calling context is responsible for enforcing this. If the byte array is not pinned, this function's behavior is undefined.

  2. isValidUtf8ByteArrayUnpinned :: ByteArray -> Int -> Int -> Bool

    text Data.Text.Internal.Validate

    This uses the unsafe FFI. GC waits for all unsafe FFI calls to complete before starting. Consequently, an unsafe FFI call does not run concurrently with GC and is not interrupted by GC. Since relocation cannot happen concurrently with an unsafe FFI call, it is safe to call this function with an unpinned byte array argument. It is also safe to call this with a pinned ByteArray argument.

  3. isValidUtf8ByteString :: ByteString -> Bool

    text Data.Text.Internal.Validate

    Is the ByteString a valid UTF-8 byte sequence?

  4. isValidUtf8ByteArrayHaskell :: ByteArray -> Int -> Int -> Bool

    text Data.Text.Internal.Validate.Native

    Native implementation of isValidUtf8ByteArrayUnpinned and isValidUtf8ByteArrayPinned.

  5. isValidUtf8ByteStringHaskell :: ByteString -> Bool

    text Data.Text.Internal.Validate.Native

    Native implementation of isValidUtf8ByteString.

  6. runIdentity :: Identity a -> a

    containers Data.Map.Internal

    No documentation available.

  7. showWide :: Bool -> [String] -> String -> String

    containers Data.Map.Internal.Debug

    No documentation available.

  8. valid :: Ord k => Map k a -> Bool

    containers Data.Map.Internal.Debug

    Test if the internal map structure is valid.

    valid (fromAscList [(3,"b"), (5,"a")]) == True
    valid (fromAscList [(5,"a"), (3,"b")]) == False
    

  9. validsize :: Map a b -> Bool

    containers Data.Map.Internal.Debug

    Test if each node of a map reports its size correctly.

  10. valid :: Ord k => Map k a -> Bool

    containers Data.Map.Lazy

    Test if the internal map structure is valid.

    valid (fromAscList [(3,"b"), (5,"a")]) == True
    valid (fromAscList [(5,"a"), (3,"b")]) == False
    

Page 371 of many | Previous | Next