Hoogle Search

Within LTS Haskell 22.24 (ghc-9.6.5)

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

  1. head :: HasCallStack => ShortByteString -> Word8

    bytestring Data.ByteString.Short

    O(1) Extract the first element of a ShortByteString, which must be non-empty. An exception will be thrown in the case of an empty ShortByteString. This is a partial function, consider using uncons instead.

  2. head :: HasCallStack => ShortByteString -> Word8

    bytestring Data.ByteString.Short.Internal

    O(1) Extract the first element of a ShortByteString, which must be non-empty. An exception will be thrown in the case of an empty ShortByteString. This is a partial function, consider using uncons instead.

  3. head :: HasCallStack => Text -> Char

    text Data.Text

    O(1) Returns the first character of a Text, which must be non-empty. This is a partial function, consider using uncons instead.

  4. head :: HasCallStack => Stream Char -> Char

    text Data.Text.Internal.Fusion.Common

    O(1) Returns the first character of a Stream Char, which must be non-empty. This is a partial function, consider using uncons. Properties

    head . stream = head
    

  5. head :: HasCallStack => Text -> Char

    text Data.Text.Lazy

    O(1) Returns the first character of a Text, which must be non-empty. This is a partial function, consider using uncons instead.

  6. head :: Vector a -> a

    vector Data.Vector

    O(1) First element.

  7. head :: Bundle v a -> a

    vector Data.Vector.Fusion.Bundle

    First element of the Bundle or error if empty

  8. head :: Monad m => Bundle m v a -> m a

    vector Data.Vector.Fusion.Bundle.Monadic

    First element of the Bundle or error if empty

  9. head :: Vector v a => v a -> a

    vector Data.Vector.Generic

    O(1) First element.

  10. head :: Prim a => Vector a -> a

    vector Data.Vector.Primitive

    O(1) First element.

Page 2 of many | Previous | Next