Hoogle Search

Within LTS Haskell 24.17 (ghc-9.10.3)

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

  1. newtype NonEmpty a

    smallcheck Test.SmallCheck.Series

    NonEmpty xs guarantees that xs is not null.

  2. NonEmpty :: [a] -> NonEmpty a

    smallcheck Test.SmallCheck.Series

    No documentation available.

  3. module Control.Foldl.NonEmpty

    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
    

  4. module Data.NonEmpty

    No documentation available.

  5. module Control.Applicative.Combinators.NonEmpty

    The module provides NonEmpty list variants of some of the functions from Control.Applicative.Combinators.

  6. module Control.Monad.Combinators.NonEmpty

    The module provides NonEmpty list variants of some of the functions from Control.Monad.Combinators.

  7. module RIO.NonEmpty

    NonEmpty list. Import as:

    import qualified RIO.NonEmpty as NE
    
    This module does not export any partial functions. For those, see RIO.NonEmpty.Partial

  8. data NonEmpty a

    rio RIO.NonEmpty

    Non-empty (and non-strict) list type.

  9. data NonEmpty a

    rio RIO.Prelude.Types

    Non-empty (and non-strict) list type.

  10. data NonEmpty a

    Cabal-syntax Distribution.Compat.Prelude

    No documentation available.

Page 2 of many | Previous | Next