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.

  1. queryFirst :: T mode -> IO T

    alsa-seq Sound.ALSA.Sequencer.Port.Info

    Get information about the first port on our client.

  2. 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]
    

  3. 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.

  4. listFindFirst :: forall (t :: Type -> Type) e n . (Semigroup (t e), Splittable t, Traversable t) => (e -> Bool) -> GenericList n t e -> Maybe (Int, e)

    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).

  5. selectFirst :: forall (m :: Type -> Type) record . (PersistQueryRead backend, MonadIO m, PersistRecordBackend record backend) => [Filter record] -> [SelectOpt record] -> ReaderT backend m (Maybe (Entity record))

    esqueleto Database.Esqueleto

    Get just the first record for the criterion.

  6. class GetFirstTable t ts

    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.

  7. getFirstTable :: GetFirstTable t ts => ts -> t

    esqueleto Database.Esqueleto.Experimental

    Get the first table of type t from the tables ts.

  8. selectFirst :: forall (m :: Type -> Type) record . (PersistQueryRead backend, MonadIO m, PersistRecordBackend record backend) => [Filter record] -> [SelectOpt record] -> ReaderT backend m (Maybe (Entity record))

    esqueleto Database.Esqueleto.Experimental

    Get just the first record for the criterion.

  9. class GetFirstTable t ts

    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.

  10. getFirstTable :: GetFirstTable t ts => ts -> t

    esqueleto Database.Esqueleto.Experimental.From.Join

    Get the first table of type t from the tables ts.

Page 57 of many | Previous | Next