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.
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.
-
esqueleto Database.Esqueleto.Legacy Get just the first record for the criterion.
ascNullsFirst :: PersistField a => SqlExpr (Value a) -> SqlExpr OrderByesqueleto Database.Esqueleto.PostgreSQL Ascending order of this field or SqlExpression with nulls coming first.