Hoogle Search
Within LTS Haskell 24.36 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
-
stm-conduit Data.Conduit.Utils Create bounded conduit pair, see BoundedStream class description.
shiftBounded :: X -> Y -> Point -> Vector -> PointLambdaHack Game.LambdaHack.Common.Vector Translate a point by a vector, but only if the result fits in an area.
trajectoryToPathBounded :: X -> Y -> Point -> [Vector] -> [Point]LambdaHack Game.LambdaHack.Common.Vector A list of points that a list of vectors leads to, bounded by level size.
vicinityBounded :: X -> Y -> Point -> [Point]LambdaHack Game.LambdaHack.Common.Vector All (8 at most) closest neighbours of a point within an area.
-
classy-prelude-conduit ClassyPrelude.Conduit Same as linesUnbounded, but for ASCII/binary data.
-
classy-prelude-conduit ClassyPrelude.Conduit Convert a stream of arbitrarily-chunked textual data into a stream of data where each chunk represents a single line. Note that, if you have unknownuntrusted input, this function is unsafe/, since it would allow an attacker to form lines of massive length and exhaust memory.
isEmptyBoundedChan :: MonadConc m => BoundedChan m a -> m Boolconcurrency Control.Concurrent.Classy.BoundedChan Deprecated: This isEmptyBoundedChan can block, no non-blocking substitute yet
newBoundedChan :: MonadConc m => Int -> m (BoundedChan m a)concurrency Control.Concurrent.Classy.BoundedChan newBoundedChan n returns a channel than can contain no more than n elements.
readBoundedChan :: MonadConc m => BoundedChan m a -> m aconcurrency Control.Concurrent.Classy.BoundedChan Read an element from the channel. If the channel is empty, this routine will block until it is able to read. Blockers wait in a fair FIFO queue.
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.