Hoogle Search
Within LTS Haskell 24.4 (ghc-9.10.2)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
-
incipit-base Incipit.List Return Just the head of a list.
-
monad-par-extras Control.Monad.Par.AList O(n) take the head element of an AList NB. linear-time, because the list might look like this:
(((... `append` a) `append` b) `append` c)
head :: SymVal a => SList a -> SBV asbv Data.SBV.List head returns the first element of a list. Unspecified if the list is empty.
>>> prove $ \c -> head (singleton c) .== (c :: SInteger) Q.E.D.
-
sbv Data.SBV.String head returns the head of a string. Unspecified if the string is empty.
>>> prove $ \c -> head (singleton c) .== c Q.E.D.
head :: forall (m :: Type -> Type) a . Monad m => Fold m a (Maybe a)streamly-core Streamly.Data.Fold Deprecated: Please use "one" instead
head :: forall (m :: Type -> Type) a . Monad m => Fold m a (Maybe a)streamly-core Streamly.Internal.Data.Fold Deprecated: Please use "one" instead
head :: Monad m => Stream m a -> m (Maybe a)streamly-core Streamly.Internal.Data.Stream No documentation available.
head :: Monad m => StreamK m a -> m (Maybe a)streamly-core Streamly.Internal.Data.StreamK No documentation available.
head :: (HasCallStack, Monad m) => Stream m a -> m avector-stream Data.Stream.Monadic First element of the Stream or error if empty
-
Agda Agda.Utils.List1 Extract the first element of the stream.