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.
readRawBufferPtrNoBlock :: String -> FD -> Ptr Word8 -> Int -> CSize -> IO Intghc-internal GHC.Internal.IO.FD No documentation available.
readTextDevice :: Handle__ -> CharBuffer -> IO CharBufferghc-internal GHC.Internal.IO.Handle.Internals No documentation available.
readTextDeviceNonBlocking :: Handle__ -> CharBuffer -> IO CharBufferghc-internal GHC.Internal.IO.Handle.Internals No documentation available.
readIOArray :: Ix i => IOArray i e -> i -> IO eghc-internal GHC.Internal.IOArray Read a value from an IOArray
-
ghc-internal GHC.Internal.IORef Read the value of an IORef. Beware that the CPU executing a thread can reorder reads or writes to independent locations. See Data.IORef#memmodel for more details.
-
ghc-internal GHC.Internal.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
readBin :: (Eq a, Num a) => ReadS aghc-internal GHC.Internal.Numeric Read an unsigned number in binary notation.
>>> readBin "10011" [(19,"")]
readDec :: (Eq a, Num a) => ReadS aghc-internal GHC.Internal.Numeric Read an unsigned number in decimal notation.
>>> readDec "0644" [(644,"")]
readFloat :: RealFrac a => ReadS aghc-internal GHC.Internal.Numeric Reads an unsigned RealFrac value, expressed in decimal scientific notation. Note that this function takes time linear in the magnitude of its input which can scale exponentially with input size (e.g. "1e100000000" is a very large number while having a very small textual form). For this reason, users should take care to avoid using this function on untrusted input. Users needing to parse floating point values (e.g. Float) are encouraged to instead use read, which does not suffer from this issue.
readHex :: (Eq a, Num a) => ReadS aghc-internal GHC.Internal.Numeric Read an unsigned number in hexadecimal notation. Both upper or lower case letters are allowed.
>>> readHex "deadbeef" [(3735928559,"")]