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.
-
cassava Data.Csv.Streaming Is the CSV data preceded by a header?
-
cassava Data.Csv.Streaming The CSV data is preceded by a header
-
cassava Data.Csv.Streaming The CSV data is not preceded by a header
_head :: Cons s s a a => AffineTraversal' s aoptics-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]
-
optics-core Optics.IxFold Retrieve the first entry of an IxFold along with its index.
>>> iheadOf ifolded [1..10] Just (0,1)
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
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
queuePeekHead :: (HasCallStack, MonadIO m) => Queue -> m (Ptr ())gi-glib GI.GLib.Structs.Queue Returns the first element of the queue.
queuePopHead :: (HasCallStack, MonadIO m) => Queue -> m (Ptr ())gi-glib GI.GLib.Structs.Queue Removes the first element of the queue and returns its data.
queuePushHead :: (HasCallStack, MonadIO m) => Queue -> Ptr () -> m ()gi-glib GI.GLib.Structs.Queue Adds a new element at the head of the queue.