Hoogle Search
Within LTS Haskell 24.40 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
renderHScrollbarHandleBefore :: HScrollbarRenderer n -> Widget nbrick Brick.Widgets.Core How to render the handle that appears at the top or left of the scrollbar. The result will be allowed to be at most one column wide.
renderVScrollbarHandleBefore :: VScrollbarRenderer n -> Widget nbrick Brick.Widgets.Core How to render the handle that appears at the top or left of the scrollbar. The result will be allowed to be at most one row high.
entriesForDirectory :: FilePath -> IO [FileInfo]brick Brick.Widgets.FileBrowser Build a list of file info entries for the specified directory. This function does not catch any exceptions raised by calling makeAbsolute or listDirectory, but it does catch exceptions on a per-file basis. Any exceptions caught when inspecting individual files are stored in the fileInfoFileStatus field of each FileInfo. The entries returned are all entries in the specified directory except for . and ... Directories are always given first. Entries are sorted in case-insensitive lexicographic order. This function is exported for those who want to implement their own file browser using the types in this module.
package
data-accessor-transformers Use Accessor to access state in transformers State monad Use Accessor to access state in transformers State monad
PersistForeignConstraintUnmet :: Text -> PersistExceptionesqueleto Database.Esqueleto No documentation available.
-
esqueleto Database.Esqueleto If the override is defined, then this returns a function that accepts an entity name and field name and provides the ConstraintNameDB for the foreign key constraint. An abstract accessor for the BackendSpecificOverrides
getEntityForeignDefs :: EntityDef -> [ForeignDef]esqueleto Database.Esqueleto No documentation available.
-
esqueleto Database.Esqueleto Set the backend's foreign key generation function to this value.
-
esqueleto Database.Esqueleto Performs a sub-select using the given foreign key on the entity. This is useful to extract values that are known to be present by the database schema. As an example, consider the following persistent definition:
User profile ProfileId Profile name Text
The following query will return the name of the user.getUserWithName = select $ from $ user -> pure (user, subSelectForeign user UserProfile (^. ProfileName)
PersistForeignConstraintUnmet :: Text -> PersistExceptionesqueleto Database.Esqueleto.Experimental No documentation available.