Hoogle Search

Within LTS Haskell 24.58 (ghc-9.10.3)

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

  1. data HasHeader

    cassava Data.Csv.Streaming

    Is the CSV data preceded by a header?

  2. HasHeader :: HasHeader

    cassava Data.Csv.Streaming

    The CSV data is preceded by a header

  3. NoHeader :: HasHeader

    cassava Data.Csv.Streaming

    The CSV data is not preceded by a header

  4. _head :: Cons s s a a => AffineTraversal' s a

    optics-core Optics.Cons.Core

    An AffineTraversal reading and writing to the head of a non-empty container.

    >>> "abc" ^? _head
    Just 'a'
    
    >>> "abc" & _head .~ 'd'
    "dbc"
    
    >>> [1,2,3] & _head %~ (*10)
    [10,2,3]
    
    >>> [] & _head %~ absurd
    []
    
    >>> [1,2,3] ^? _head
    Just 1
    
    >>> [] ^? _head
    Nothing
    
    >>> [1,2] ^? _head
    Just 1
    
    >>> [] & _head .~ 1
    []
    
    >>> [0] & _head .~ 2
    [2]
    
    >>> [0,1] & _head .~ 2
    [2,1]
    

  5. iheadOf :: forall k (is :: IxList) i s a . (Is k A_Fold, HasSingleIndex is i) => Optic' k is s a -> s -> Maybe (i, a)

    optics-core Optics.IxFold

    Retrieve the first entry of an IxFold along with its index.

    >>> iheadOf ifolded [1..10]
    Just (0,1)
    

  6. clearQueueHead :: MonadIO m => Queue -> m ()

    gi-glib GI.GLib.Structs.Queue

    Set the value of the “head” field to Nothing. When overloading is enabled, this is equivalent to

    clear #head
    

  7. getQueueHead :: MonadIO m => Queue -> m [Ptr ()]

    gi-glib GI.GLib.Structs.Queue

    Get the value of the “head” field. When overloading is enabled, this is equivalent to

    get queue #head
    

  8. queuePeekHead :: (HasCallStack, MonadIO m) => Queue -> m (Ptr ())

    gi-glib GI.GLib.Structs.Queue

    Returns the first element of the queue.

  9. queuePopHead :: (HasCallStack, MonadIO m) => Queue -> m (Ptr ())

    gi-glib GI.GLib.Structs.Queue

    Removes the first element of the queue and returns its data.

  10. queuePushHead :: (HasCallStack, MonadIO m) => Queue -> Ptr () -> m ()

    gi-glib GI.GLib.Structs.Queue

    Adds a new element at the head of the queue.

Page 171 of many | Previous | Next