Hoogle Search

Within LTS Haskell 24.38 (ghc-9.10.3)

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

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

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

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

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

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

    esqueleto Database.Esqueleto.Experimental

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

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

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

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

    esqueleto Database.Esqueleto.Experimental.From.Join

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

  9. 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.Legacy

    Get just the first record for the criterion.

  10. ascNullsFirst :: PersistField a => SqlExpr (Value a) -> SqlExpr OrderBy

    esqueleto Database.Esqueleto.PostgreSQL

    Ascending order of this field or SqlExpression with nulls coming first.

Page 57 of many | Previous | Next