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 :: Unbox a => Vector a -> arebase Rebase.Data.Vector.Unboxed No documentation available.
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
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
-
deque Deque.Lazy , occasionally <math>. Get the first element if deque is not empty.
head :: MonadReader (Deque a) m => m (Maybe a)deque Deque.Lazy.Reader , occasionally <math>. Get the first element if deque is not empty.
head :: MonadState (Deque a) m => m (Maybe a)deque Deque.Lazy.State , occasionally <math>. Get the first element if deque is not empty.
-
deque Deque.Strict , occasionally <math>. Get the first element if deque is not empty.
head :: MonadReader (Deque a) m => m (Maybe a)deque Deque.Strict.Reader , occasionally <math>. Get the first element if deque is not empty.
head :: MonadState (Deque a) m => m (Maybe a)deque Deque.Strict.State , occasionally <math>. Get the first element if deque is not empty.
head :: forall v a (k :: PeanoNum) . (Vector v a, Dim v ~ 'S k) => v a -> afixed-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