Hoogle Search

Within LTS Haskell 24.32 (ghc-9.10.3)

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

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

    ghc-internal GHC.Internal.Base

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

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

    ghc-internal GHC.Internal.Base

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

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

    ghc-internal GHC.Internal.Base

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

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

    ghc-internal GHC.Internal.Base

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

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

    ghc-internal GHC.Internal.Base

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

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

    ghc-internal GHC.Internal.Base

    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.

  7. readTVar :: TVar a -> STM a

    ghc-internal GHC.Internal.Conc.Sync

    Return the current value stored in a TVar.

  8. readTVarIO :: TVar a -> IO a

    ghc-internal GHC.Internal.Conc.Sync

    Return the current value stored in a TVar. This is equivalent to

    readTVarIO = atomically . readTVar
    
    but works much faster, because it doesn't perform a complete transaction, it just reads the current value of the TVar.

  9. readMVar :: MVar a -> IO a

    ghc-internal GHC.Internal.Control.Concurrent.MVar

    Atomically read the contents of an MVar. If the MVar is currently empty, readMVar will wait until it is full. readMVar is guaranteed to receive the next putMVar. readMVar is multiple-wakeup, so when multiple readers are blocked on an MVar, all of them are woken up at the same time. The runtime guarantees that all woken threads complete their readMVar operation. Compatibility note: Prior to base 4.7, readMVar was a combination of takeMVar and putMVar. This mean that in the presence of other threads attempting to putMVar, readMVar could block. Furthermore, readMVar would not receive the next putMVar if there was already a pending thread blocked on takeMVar. The old behavior can be recovered by implementing 'readMVar as follows:

    readMVar :: MVar a -> IO a
    readMVar m =
    mask_ $ do
    a <- takeMVar m
    putMVar m a
    return a
    

  10. readConstr :: DataType -> String -> Maybe Constr

    ghc-internal GHC.Internal.Data.Data

    Lookup a constructor via a string

Page 171 of many | Previous | Next