Hoogle Search

Within LTS Haskell 22.21 (ghc-9.6.5)

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

  1. nonEmpty :: [a] -> Maybe (NonEmpty a)

    base Data.List.NonEmpty

    nonEmpty efficiently turns a normal list into a NonEmpty stream, producing Nothing if the input is empty.

  2. nonEmpty :: [a] -> Maybe (NonEmpty a)

    base-compat Data.List.NonEmpty.Compat

    nonEmpty efficiently turns a normal list into a NonEmpty stream, producing Nothing if the input is empty.

  3. nonEmpty :: MonadGen m => Range Int -> m a -> m (NonEmpty a)

    hedgehog Hedgehog.Gen

    Generates a non-empty list using a Range to determine the length.

  4. nonEmpty :: MonadGen m => Range Int -> m a -> m (NonEmpty a)

    hedgehog Hedgehog.Internal.Gen

    Generates a non-empty list using a Range to determine the length.

  5. nonEmpty :: Fold1 a (NonEmpty a)

    foldl Control.Foldl.NonEmpty

    Fold all values within a non-empty container into a NonEmpty list

  6. nonEmpty :: [a] -> Maybe (NonEmpty a)

    rio RIO.NonEmpty

    nonEmpty efficiently turns a normal list into a NonEmpty stream, producing Nothing if the input is empty.

  7. nonEmpty :: [a] -> Maybe (NonEmpty a)

    base-compat-batteries Data.List.NonEmpty.Compat

    nonEmpty efficiently turns a normal list into a NonEmpty stream, producing Nothing if the input is empty.

  8. nonEmpty :: [a] -> Maybe (NonEmpty a)

    relude Relude.List.NonEmpty

    nonEmpty efficiently turns a normal list into a NonEmpty stream, producing Nothing if the input is empty.

  9. nonEmpty :: [a] -> Maybe (NonEmpty a)

    Cabal-syntax Distribution.Compat.Prelude

    nonEmpty efficiently turns a normal list into a NonEmpty stream, producing Nothing if the input is empty.

  10. nonEmpty :: [a] -> Maybe (NonEmpty a)

    protolude Protolude

    nonEmpty efficiently turns a normal list into a NonEmpty stream, producing Nothing if the input is empty.

Page 1 of many | Next