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.
head :: Sequential c => NonEmpty c -> Element cfoundation Foundation get the first element of a non-empty collection
head :: Sequential c => NonEmpty c -> Element cfoundation Foundation.Collection get the first element of a non-empty collection
-
nonempty-containers Data.Sequence.NonEmpty O(1). Retrieve the left-most item in a non-empty sequence. Note that this function is total.
-
prelude-compat Data.List2010 No documentation available.
-
prelude-compat Prelude2010 No documentation available.
-
rebase Rebase.Data.Vector No documentation available.
head :: (HasCallStack, Monad m) => Stream m a -> m arebase Rebase.Data.Vector.Fusion.Stream.Monadic First element of the Stream or error if empty
head :: Vector v a => v a -> arebase Rebase.Data.Vector.Generic No documentation available.
head :: Prim a => Vector a -> arebase Rebase.Data.Vector.Primitive No documentation available.
head :: Storable a => Vector a -> arebase Rebase.Data.Vector.Storable No documentation available.