Hoogle Search
Within LTS Haskell 24.27 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
-
smallcheck Test.SmallCheck.Series NonEmpty xs guarantees that xs is not null.
-
smallcheck Test.SmallCheck.Series No documentation available.
-
This module provides a Fold1 type that is a "non-empty" analog of the Fold type, meaning that it requires at least one input element in order to produce a result This module does not provide all of the same utilities as the Control.Foldl module. Instead, this module only provides the utilities which can make use of the non-empty input guarantee (e.g. head). For all other utilities you can convert them from the equivalent Fold using fromFold. Import this module qualified to avoid clashing with the Prelude:
>>> import qualified Control.Foldl.NonEmpty as Foldl1
Use fold1 to apply a Fold1 to a non-empty list:>>> Foldl1.fold1 Foldl1.last (1 :| [2..10]) 10
-
No documentation available.
module Control.Applicative.Combinators.
NonEmpty The module provides NonEmpty list variants of some of the functions from Control.Applicative.Combinators.
module Control.Monad.Combinators.
NonEmpty The module provides NonEmpty list variants of some of the functions from Control.Monad.Combinators.
-
NonEmpty list. Import as:
import qualified RIO.NonEmpty as NE
This module does not export any partial functions. For those, see RIO.NonEmpty.Partial -
rio RIO.NonEmpty Non-empty (and non-strict) list type.
-
rio RIO.Prelude.Types Non-empty (and non-strict) list type.
-
Cabal-syntax Distribution.Compat.Prelude No documentation available.