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.
readChanOnException :: UnagiPrim a => OutChan a -> (IO a -> IO ()) -> IO aunagi-chan Control.Concurrent.Chan.Unagi.Unboxed 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.
-
STMonadTrans Control.Monad.ST.Trans Retrieves an element from the array
readSTRef :: forall (m :: Type -> Type) s a . Applicative m => STRef s a -> STT s m aSTMonadTrans Control.Monad.ST.Trans Reads the value of a reference
readComponentCount :: forall c m . MonadIO m => ComponentCounter c -> m (ComponentCount c)apecs Apecs.Experimental.Reactive No documentation available.
reader :: forall w (m :: Type -> Type) r a s . (Monoid w, Monad m) => (r -> a) -> RWST r w s m aautomaton Data.Automaton.Trans.RWS Constructor for computations in the reader monad (equivalent to asks).
-
automaton Data.Automaton.Trans.Reader Convert an explicit Automaton input into an environment in the ReaderT monad transformer. This is the opposite of runReaderS.
readSchemaFromSchema :: Schema -> ReadSchemaavro Data.Avro Converts Schema into ReadSchema. This function may be useful when it is known that the writer and the reader schemas are the same.
readEither :: Read a => String -> Either String abase-prelude BasePrelude Parse a string using the Read instance. Succeeds if there is exactly one valid result. A Left value indicates a parse error.
>>> readEither "123" :: Either String Int Right 123
>>> readEither "hello" :: Either String Int Left "Prelude.read: no parse"
readList :: Read a => ReadS [a]base-prelude BasePrelude The method readList is provided to allow the programmer to give a specialised way of parsing lists of values. For example, this is used by the predefined Read instance of the Char type, where values of type String are expected to use double quotes, rather than square brackets.
readListPrec :: Read a => ReadPrec [a]base-prelude BasePrelude Proposed replacement for readList using new-style parsers (GHC only). The default definition uses readList. Instances that define readPrec should also define readListPrec as readListPrecDefault.