Hoogle Search

Within LTS Haskell 24.6 (ghc-9.10.2)

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

  1. exponentialBounded :: (Bounded a, Integral a) => Range a

    hedgehog Hedgehog.Range

    Construct a range which is scaled exponentially relative to the size parameter and uses the full range of a data type.

    >>> bounds 0 (exponentialBounded :: Range Int8)
    (0,0)
    
    >>> bounds 50 (exponentialBounded :: Range Int8)
    (-11,11)
    
    >>> bounds 99 (exponentialBounded :: Range Int8)
    (-128,127)
    

  2. linearBounded :: (Bounded a, Integral a) => Range a

    hedgehog Hedgehog.Range

    Construct a range which is scaled relative to the size parameter and uses the full range of a data type.

    >>> bounds 0 (linearBounded :: Range Int8)
    (0,0)
    
    >>> bounds 50 (linearBounded :: Range Int8)
    (-64,64)
    
    >>> bounds 99 (linearBounded :: Range Int8)
    (-128,127)
    

  3. Unbounded :: PageWidth

    prettyprinter Prettyprinter

    Layouters should not introduce line breaks on their own.

  4. Unbounded :: PageWidth

    prettyprinter Prettyprinter.Internal

    Layouters should not introduce line breaks on their own.

  5. writePrimBounded :: BoundedPrim a -> a -> Write

    blaze-builder Blaze.ByteString.Builder.Compat.Write

    No documentation available.

  6. maximumBounded :: (Ord a, Bounded a) => [a] -> a

    safe Safe

    The largest element of a list. The result is bounded by minBound.

  7. minimumBounded :: (Ord a, Bounded a) => [a] -> a

    safe Safe

    The largest element of a list. The result is bounded by maxBound.

  8. maximumBounded :: (Foldable f, Ord a, Bounded a) => f a -> a

    safe Safe.Foldable

    The largest element of a foldable structure. The result is bounded by minBound.

  9. minimumBounded :: (Foldable f, Ord a, Bounded a) => f a -> a

    safe Safe.Foldable

    The largest element of a foldable structure. The result is bounded by maxBound.

  10. linesBounded :: forall (m :: Type -> Type) . MonadThrow m => Int -> ConduitT Text Text m ()

    conduit-extra Data.Conduit.Text

    Variant of the lines function with an integer parameter. The text length of any emitted line never exceeds the value of the parameter. Whenever this is about to happen a LengthExceeded exception is thrown. This function should be used instead of the lines function whenever we are dealing with user input (e.g. a file upload) because we can't be sure that user input won't have extraordinarily large lines which would require large amounts of memory if consumed.

Page 21 of many | Previous | Next