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.
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.
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.
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.
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.
nonEmpty :: Fold1 a (NonEmpty a)foldl Control.Foldl.NonEmpty Fold all values within a non-empty container into a NonEmpty list
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.
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.
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.
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.
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