Hoogle Search
Within LTS Haskell 24.6 (ghc-9.10.2)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
headDefC :: forall (m :: Type -> Type) a o . Monad m => a -> ConduitT a o m aconduit Conduit Same as headC, but returns a default value if none are available from the stream.
headDef :: forall (m :: Type -> Type) a o . Monad m => a -> ConduitT a o m aconduit Data.Conduit.Combinators Same as head, but returns a default value if none are available from the stream.
-
conduit Data.Conduit.Combinators Get the next element in the chunked stream.
headS :: forall (m :: Type -> Type) a . Monad m => StreamConsumer a m (Maybe a)conduit Data.Conduit.Internal.List.Stream No documentation available.
headline :: Doc SimpleHtml -> Doc SimpleHtmlprettyprinter Prettyprinter.Render.Tutorials.StackMachineTutorial No documentation available.
headline :: Doc SimpleHtml -> Doc SimpleHtmlprettyprinter Prettyprinter.Render.Tutorials.TreeRenderingTutorial No documentation available.
-
safe Safe No documentation available.
headErr :: Partial => [a] -> asafe Safe Identical to head, namely that fails on an empty list. Useful to avoid the x-partial warning introduced in GHC 9.8.
headErr [] = error "Prelude.head: empty list" headErr [1,2,3] = 1
-
safe Safe No documentation available.
headNote :: Partial => String -> [a] -> asafe Safe No documentation available.