Hoogle Search
Within LTS Haskell 24.10 (ghc-9.10.2)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
-
alsa-seq Sound.ALSA.Sequencer.Port.Info Get information about the first port on our client.
deleteFirstsBy :: (a -> a -> Bool) -> [a] -> [a] -> [a]basic-prelude BasicPrelude The deleteFirstsBy function takes a predicate and two lists and returns the first list with the first occurrence of each element of the second list removed. This is the non-overloaded version of (\\).
(\\) == deleteFirstsBy (==)
The second list must be finite, but the first may be infinite.Examples
>>> deleteFirstsBy (>) [1..10] [3, 4, 5] [4,5,6,7,8,9,10]
>>> deleteFirstsBy (/=) [1..10] [1, 3, 5] [4,5,6,7,8,9,10]
showFirstCursor :: s -> [CursorLocation n] -> Maybe (CursorLocation n)brick Brick.Main Always show the first cursor, if any, returned by the rendering process. This is a convenience function useful as an appChooseCursor value when a simple program has zero or more widgets that advertise a cursor position.
-
brick Brick.Widgets.List Find the first element in the list that satisfies the specified predicate. If such an element is found, return the resulting index and element. O(n).
-
esqueleto Database.Esqueleto Get just the first record for the criterion.
-
esqueleto Database.Esqueleto.Experimental Typeclass for selecting tables using type application syntax. If you have a long chain of tables joined with (:&), like a :& b :& c :& d, then getTable @c (a :& b :& c :& d) will give you the c table back. Note that this typeclass will only select the first table of the given type; it may be less useful if there's multiple tables of the same type.
getFirstTable :: GetFirstTable t ts => ts -> tesqueleto Database.Esqueleto.Experimental Get the first table of type t from the tables ts.
-
esqueleto Database.Esqueleto.Experimental Get just the first record for the criterion.
-
esqueleto Database.Esqueleto.Experimental.From.Join Typeclass for selecting tables using type application syntax. If you have a long chain of tables joined with (:&), like a :& b :& c :& d, then getTable @c (a :& b :& c :& d) will give you the c table back. Note that this typeclass will only select the first table of the given type; it may be less useful if there's multiple tables of the same type.
getFirstTable :: GetFirstTable t ts => ts -> tesqueleto Database.Esqueleto.Experimental.From.Join Get the first table of type t from the tables ts.