Hoogle Search

Within LTS Haskell 24.31 (ghc-9.10.3)

Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.

  1. 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.

  2. trywriteBoundedChan :: MonadConc m => BoundedChan m a -> a -> m Bool

    concurrency Control.Concurrent.Classy.BoundedChan

    A variant of writeBoundedChan which, instead of blocking when the channel is full, simply aborts and does not write the element. Note that this routine can still block while waiting for write access to the channel.

  3. writeBoundedChan :: MonadConc m => BoundedChan m a -> a -> m ()

    concurrency Control.Concurrent.Classy.BoundedChan

    Write an element to the channel. If the channel is full, this routine will block until it is able to write. Blockers wait in a fair FIFO queue.

  4. writeList2BoundedChan :: MonadConc m => BoundedChan m a -> [a] -> m ()

    concurrency Control.Concurrent.Classy.BoundedChan

    Write a list of elements to the channel. If the channel becomes full, this routine will block until it can write. Competing writers may interleave with this one.

  5. cBounded :: (PositionalSystem s, Ord α, Bounded α, Integral α, Monad μ, CharParsing μ) => s -> μ α

    data-textual Data.Textual.Integral

    A shorthand for cBounded' optMinus.

  6. cBounded' :: (PositionalSystem s, Ord α, Bounded α, Integral α, Monad μ, CharParsing μ) => μ Sign -> s -> μ α

    data-textual Data.Textual.Integral

    Parse a number written in the specified positional numeral system, failing on overflow. The supplied parser is used to determine the sign of the number. Leading zeroes are not allowed.

  7. nnBounded :: (PositionalSystem s, Ord α, Bounded α, Integral α, Monad μ, CharParsing μ) => s -> μ α

    data-textual Data.Textual.Integral

    Parse a non-negative number written in the specified positional numeral system, failing on overflow.

  8. nncBounded :: (PositionalSystem s, Ord α, Bounded α, Integral α, Monad μ, CharParsing μ) => s -> μ α

    data-textual Data.Textual.Integral

    Parse a non-negative number written in the specified positional numeral system, failing on overflow. Leading zeroes are not allowed.

  9. npBounded :: (PositionalSystem s, Ord α, Bounded α, Integral α, Monad μ, CharParsing μ) => s -> μ α

    data-textual Data.Textual.Integral

    Parse a non-positive number written in the specified positional numeral system, failing on overflow.

  10. npcBounded :: (PositionalSystem s, Ord α, Bounded α, Integral α, Monad μ, CharParsing μ) => s -> μ α

    data-textual Data.Textual.Integral

    Parse a non-positive number written in the specified positional numeral system, failing on overflow. Leading zeroes are not allowed.

Page 33 of many | Previous | Next