Hoogle Search

Within LTS Haskell 24.3 (ghc-9.10.2)

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

  1. head :: Infinite a -> a

    ghc GHC.Data.List.Infinite

    No documentation available.

  2. head :: HasCallStack => [a] -> a

    ghc GHC.Prelude.Basic

    No documentation available.

  3. head :: Monad m => Producer a m () -> m (Maybe a)

    pipes Pipes.Prelude

    Retrieve the first element from a Producer

  4. head :: Fold a (Maybe a)

    foldl Control.Foldl

    Get the first element of a container or return Nothing if the container is empty

  5. head :: Fold ByteString (Maybe Word8)

    foldl Control.Foldl.ByteString

    Get the first byte of a byte stream or return Nothing if the stream is empty

  6. head :: Fold1 a a

    foldl Control.Foldl.NonEmpty

    Get the first element of a non-empty container

  7. head :: Fold Text (Maybe Char)

    foldl Control.Foldl.Text

    Get the first character of a text stream or return Nothing if the stream is empty

  8. head :: ShortText -> Char

    text-short Data.Text.Short.Partial

    Returns first character of a non-empty ShortText

    >>> head "abcd"
    'a'
    
    Note: Will throw an error exception for empty ShortTexts. Consider using the total functions uncons or indexMaybe instead.

  9. head :: T (f :: Type -> Type) a -> a

    non-empty Data.NonEmpty

    No documentation available.

  10. head :: MonoFoldable mono => NonNull mono -> Element mono

    mono-traversable Data.NonNull

    Return the first element of a monomorphic container. Safe version of headEx, only works on monomorphic containers wrapped in a NonNull.

Page 4 of many | Previous | Next