Hoogle Search

Within LTS Haskell 24.67 (ghc-9.10.3)

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

  1. readWord8X16OffAddr# :: Addr# -> Int# -> State# d -> (# State# d, Word8X16# #)

    ihaskell IHaskellPrelude

    Reads vector; offset in bytes. Warning: this is only available on LLVM and can fail with an unchecked exception.

  2. readWord8X32Array# :: MutableByteArray# d -> Int# -> State# d -> (# State# d, Word8X32# #)

    ihaskell IHaskellPrelude

    Read a vector from specified index of mutable array. Warning: this is only available on LLVM and can fail with an unchecked exception.

  3. readWord8X32OffAddr# :: Addr# -> Int# -> State# d -> (# State# d, Word8X32# #)

    ihaskell IHaskellPrelude

    Reads vector; offset in bytes. Warning: this is only available on LLVM and can fail with an unchecked exception.

  4. readWord8X64Array# :: MutableByteArray# d -> Int# -> State# d -> (# State# d, Word8X64# #)

    ihaskell IHaskellPrelude

    Read a vector from specified index of mutable array. Warning: this is only available on LLVM and can fail with an unchecked exception.

  5. readWord8X64OffAddr# :: Addr# -> Int# -> State# d -> (# State# d, Word8X64# #)

    ihaskell IHaskellPrelude

    Reads vector; offset in bytes. Warning: this is only available on LLVM and can fail with an unchecked exception.

  6. readWordArray# :: MutableByteArray# d -> Int# -> State# d -> (# State# d, Word# #)

    ihaskell IHaskellPrelude

    Read a word-sized unsigned integer; offset in machine words. Warning: this can fail with an unchecked exception.

  7. readWordOffAddr# :: Addr# -> Int# -> State# d -> (# State# d, Word# #)

    ihaskell IHaskellPrelude

    Read a word-sized unsigned integer; offset in machine words. On some platforms, the access may fail for an insufficiently aligned Addr#. Warning: this can fail with an unchecked exception.

  8. readEither :: Read a => String -> Either Text a

    incipit-base Incipit.String.Conversion

    Version of readEither that returns Text in case of the parse error.

    >>> readEither @Int "123"
    Right 123
    
    >>> readEither @Int "aa"
    Left "Prelude.read: no parse"
    

  9. readMaybe :: Read a => String -> Maybe a

    incipit-base Incipit.String.Reexport

    Parse a string using the Read instance. Succeeds if there is exactly one valid result.

    >>> readMaybe "123" :: Maybe Int
    Just 123
    
    >>> readMaybe "hello" :: Maybe Int
    Nothing
    

  10. reads :: Read a => ReadS a

    incipit-base Incipit.String.Reexport

    equivalent to readsPrec with a precedence of 0.

Page 272 of many | Previous | Next