Hoogle Search
Within LTS Haskell 24.52 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
RamRead :: Index n -> RamOp (n :: Nat) aclash-prelude Clash.Prelude.BlockRam Read from address
RamRead :: Index n -> RamOp (n :: Nat) aclash-prelude Clash.Prelude.Safe Read from address
-
classy-prelude-conduit ClassyPrelude.Conduit Run ReaderT in the base monad Since 1.0.11
unsafeReadCompact :: Typeable a => FilePath -> IO (Either String (Compact a))compact Data.Compact.Serialize Read out a compact region that was serialized to a file. See hUnsafeGetCompact for safety considerations when using this function.
asyncThreadId :: Async m a -> ThreadId mconcurrency Control.Concurrent.Classy.Async No documentation available.
tryreadBoundedChan :: MonadConc m => BoundedChan m a -> m (Maybe a)concurrency Control.Concurrent.Classy.BoundedChan A variant of readBoundedChan which, instead of blocking when the channel is empty, immediately returns Nothing. Otherwise, tryreadBoundedChan returns Just a where a is the element read from the channel. Note that this routine can still block while waiting for read access to the channel.
acquireRead :: MonadConc m => RWLock m -> m ()concurrency Control.Concurrent.Classy.RWLock Acquire the read lock. Blocks if another thread has acquired write access. If acquireRead terminates without throwing an exception the state of the RWLock will be "read". Implementation note: throws an exception when more than maxBound :: Int simultaneous threads acquire the read lock. But that is unlikely.
newAcquiredRead :: MonadConc m => m (RWLock m)concurrency Control.Concurrent.Classy.RWLock Create a new RWLock in the "read" state; only read can be acquired without blocking.
releaseRead :: MonadConc m => RWLock m -> m ()concurrency Control.Concurrent.Classy.RWLock Release the read lock. If the calling thread was the last one to relinquish read access the state will revert to "free". It is an error to release read access to an RWLock which is not in the "read" state.
tryAcquireRead :: MonadConc m => RWLock m -> m Boolconcurrency Control.Concurrent.Classy.RWLock Try to acquire the read lock; non blocking. Like acquireRead, but doesn't block. Returns True if the resulting state is "read", False otherwise.