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.

  1. renderHScrollbarHandleBefore :: HScrollbarRenderer n -> Widget n

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

  2. renderVScrollbarHandleBefore :: VScrollbarRenderer n -> Widget n

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

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

  4. package data-accessor-transformers

    Use Accessor to access state in transformers State monad Use Accessor to access state in transformers State monad

  5. PersistForeignConstraintUnmet :: Text -> PersistException

    esqueleto Database.Esqueleto

    No documentation available.

  6. getBackendSpecificForeignKeyName :: BackendSpecificOverrides -> Maybe (EntityNameDB -> FieldNameDB -> ConstraintNameDB)

    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

  7. getEntityForeignDefs :: EntityDef -> [ForeignDef]

    esqueleto Database.Esqueleto

    No documentation available.

  8. setBackendSpecificForeignKeyName :: (EntityNameDB -> FieldNameDB -> ConstraintNameDB) -> BackendSpecificOverrides -> BackendSpecificOverrides

    esqueleto Database.Esqueleto

    Set the backend's foreign key generation function to this value.

  9. subSelectForeign :: (BackendCompatible SqlBackend (PersistEntityBackend val1), PersistEntity val1, PersistEntity val2, PersistField a) => SqlExpr (Entity val2) -> EntityField val2 (Key val1) -> (SqlExpr (Entity val1) -> SqlExpr (Value a)) -> SqlExpr (Value a)

    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)
    

  10. PersistForeignConstraintUnmet :: Text -> PersistException

    esqueleto Database.Esqueleto.Experimental

    No documentation available.

Page 664 of many | Previous | Next