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.

  1. head :: Unbox a => Vector a -> a

    rebase Rebase.Data.Vector.Unboxed

    No documentation available.

  2. head :: Monad m => ByteStream m r -> m (Of (Maybe Word8) r)

    streaming-bytestring Streaming.ByteString

    O(c) Extract the first element of a ByteStream, if there is one. Suitable for use with mapped:

    S.mapped Q.head :: Stream (Q.ByteStream m) m r -> Stream (Of (Maybe Word8)) m r
    

  3. head :: Monad m => ByteStream m r -> m (Of (Maybe Char) r)

    streaming-bytestring Streaming.ByteString.Char8

    O(1) Extract the first element of a ByteStream, if possible. Suitable for use with mapped:

    S.mapped Q.head :: Stream (Q.ByteStream m) m r -> Stream (Of (Maybe Char)) m r
    

  4. head :: Deque a -> Maybe a

    deque Deque.Lazy

    , occasionally <math>. Get the first element if deque is not empty.

  5. head :: MonadReader (Deque a) m => m (Maybe a)

    deque Deque.Lazy.Reader

    , occasionally <math>. Get the first element if deque is not empty.

  6. head :: MonadState (Deque a) m => m (Maybe a)

    deque Deque.Lazy.State

    , occasionally <math>. Get the first element if deque is not empty.

  7. head :: Deque a -> Maybe a

    deque Deque.Strict

    , occasionally <math>. Get the first element if deque is not empty.

  8. head :: MonadReader (Deque a) m => m (Maybe a)

    deque Deque.Strict.Reader

    , occasionally <math>. Get the first element if deque is not empty.

  9. head :: MonadState (Deque a) m => m (Maybe a)

    deque Deque.Strict.State

    , occasionally <math>. Get the first element if deque is not empty.

  10. head :: forall v a (k :: PeanoNum) . (Vector v a, Dim v ~ 'S k) => v a -> a

    fixed-vector Data.Vector.Fixed

    First element of vector. Examples:

    >>> import Data.Vector.Fixed.Boxed (Vec3)
    
    >>> let x = mk3 1 2 3 :: Vec3 Int
    
    >>> head x
    1
    

Page 11 of many | Previous | Next