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.
exponentialBounded :: (Bounded a, Integral a) => Range ahedgehog 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)
linearBounded :: (Bounded a, Integral a) => Range ahedgehog 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)
-
prettyprinter Prettyprinter Layouters should not introduce line breaks on their own.
-
prettyprinter Prettyprinter.Internal Layouters should not introduce line breaks on their own.
writePrimBounded :: BoundedPrim a -> a -> Writeblaze-builder Blaze.ByteString.Builder.Compat.Write No documentation available.
maximumBounded :: (Ord a, Bounded a) => [a] -> asafe Safe The largest element of a list. The result is bounded by minBound.
minimumBounded :: (Ord a, Bounded a) => [a] -> asafe Safe The largest element of a list. The result is bounded by maxBound.
maximumBounded :: (Foldable f, Ord a, Bounded a) => f a -> asafe Safe.Foldable The largest element of a foldable structure. The result is bounded by minBound.
minimumBounded :: (Foldable f, Ord a, Bounded a) => f a -> asafe Safe.Foldable The largest element of a foldable structure. The result is bounded by maxBound.
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.