Hoogle Search
Within LTS Haskell 24.33 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
readOMML :: Text -> Either Text [Exp]texmath Text.TeXMath.Readers.OMML No documentation available.
readTeX :: Text -> Either Text [Exp]texmath Text.TeXMath.Readers.TeX Parse a formula, returning a list of Exp.
readLength :: Text -> Maybe Rationaltexmath Text.TeXMath.Shared Attempts to convert a string into
readMaybe :: Read a => String -> Maybe atidal-core Sound.Tidal.Utils No documentation available.
-
unagi-chan Control.Concurrent.Chan.Unagi Read an element from the chan, blocking if the chan is empty. Note re. exceptions: When an async exception is raised during a readChan the message that the read would have returned is likely to be lost, even when the read is known to be blocked on an empty queue. If you need to handle this scenario, you can use readChanOnException.
readChanOnException :: OutChan a -> (IO a -> IO ()) -> IO aunagi-chan Control.Concurrent.Chan.Unagi Like readChan but allows recovery of the queue element which would have been read, in the case that an async exception is raised during the read. To be precise exceptions are raised, and the handler run, only when readChanOnException is blocking. The second argument is a handler that takes a blocking IO action returning the element, and performs some recovery action. When the handler is called, the passed IO a is the only way to access the element.
-
unagi-chan Control.Concurrent.Chan.Unagi.Bounded Read an element from the chan, blocking if the chan is empty. Note re. exceptions: When an async exception is raised during a readChan the message that the read would have returned is likely to be lost, even when the read is known to be blocked on an empty queue. If you need to handle this scenario, you can use readChanOnException.
readChanOnException :: OutChan a -> (IO a -> IO ()) -> IO aunagi-chan Control.Concurrent.Chan.Unagi.Bounded Like readChan but allows recovery of the queue element which would have been read, in the case that an async exception is raised during the read. To be precise exceptions are raised, and the handler run, only when readChanOnException is blocking. The second argument is a handler that takes a blocking IO action returning the element, and performs some recovery action. When the handler is called, the passed IO a is the only way to access the element.
readChan :: IO () -> OutChan a -> IO aunagi-chan Control.Concurrent.Chan.Unagi.NoBlocking readChan io c returns the next element from c, calling tryReadChan and looping on the Element returned, and calling io at each iteration when the element is not yet available. It throws BlockedIndefinitelyOnMVar when isActive determines that a value will never be returned. When used like readChan yield or readChan (threadDelay 10) this is the semantic equivalent to the blocking readChan in the other implementations.
readChan :: UnagiPrim a => IO () -> OutChan a -> IO aunagi-chan Control.Concurrent.Chan.Unagi.NoBlocking.Unboxed readChan io c returns the next element from c, calling tryReadChan and looping on the Element returned, and calling io at each iteration when the element is not yet available. It throws BlockedIndefinitelyOnMVar when isActive determines that a value will never be returned. When used like readChan yield or readChan (threadDelay 10) this is the semantic equivalent to the blocking readChan in the other implementations.