Hoogle Search

Within LTS Haskell 24.28 (ghc-9.10.3)

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

  1. scrolledWindowVAdjustment :: ScrolledWindowClass self => Attr self Adjustment

    gtk3 Graphics.UI.Gtk.Scrolling.ScrolledWindow

    The Adjustment for the vertical position.

  2. colorSelectionIsAdjusting :: ColorSelectionClass self => self -> IO Bool

    gtk3 Graphics.UI.Gtk.Selectors.ColorSelection

    Gets the current state of the widget. Returns True if the user is currently dragging a color around, and False if the selection has stopped.

  3. hsvIsAdjusting :: HSVClass self => self -> IO Bool

    gtk3 Graphics.UI.Gtk.Selectors.HSV

    An HSV color selector can be said to be adjusting if multiple rapid changes are being made to its value, for example, when the user is adjusting the value with the mouse. This function queries whether the HSV color selector is being adjusted or not.

  4. adjust :: (Hashable k, Ord k) => (a -> a) -> k -> Map k a -> Map k a

    hashmap Data.HashMap

    Adjust a value at a specific key. When the key is not a member of the map, the original map is returned.

  5. adjustWithKey :: (Hashable k, Ord k) => (k -> a -> a) -> k -> Map k a -> Map k a

    hashmap Data.HashMap

    Adjust a value at a specific key. When the key is not a member of the map, the original map is returned.

  6. adjustMonth :: YearLeap -> Month -> Month

    hebrew-time Data.Time.Calendar.Hebrew.Internal

    No documentation available.

  7. adjustPromise :: forall (n :: Type -> Type) a . Monad n => Promise a -> (a -> a) -> RuntimeSplice n ()

    heist Heist.Compiled.LowLevel

    Modifies a promise.

  8. belongsToJust :: forall ent1 ent2 backend (m :: Type -> Type) . (PersistStoreRead backend, PersistEntity ent1, PersistRecordBackend ent2 backend, MonadIO m) => (ent1 -> Key ent2) -> ent1 -> ReaderT backend m ent2

    hledger-web Hledger.Web.Import

    Same as belongsTo, but uses getJust and therefore is similarly unsafe.

  9. getJust :: forall record backend (m :: Type -> Type) . (PersistStoreRead backend, PersistRecordBackend record backend, MonadIO m) => Key record -> ReaderT backend m record

    hledger-web Hledger.Web.Import

    Same as get, but for a non-null (not Maybe) foreign key. Unsafe unless your database is enforcing that the foreign key is valid.

    Example usage

    With schema-1 and dataset-1,
    getJustSpj :: MonadIO m => ReaderT SqlBackend m User
    getJustSpj = getJust spjId
    
    spj <- getJust spjId
    
    The above query when applied on dataset-1, will get this record:
    +----+------+-----+
    | id | name | age |
    +----+------+-----+
    |  1 | SPJ  |  40 |
    +----+------+-----+
    
    getJustUnknown :: MonadIO m => ReaderT SqlBackend m User
    getJustUnknown = getJust unknownId
    
    mrx <- getJustUnknown This just throws an error.

  10. getJustEntity :: forall record backend (m :: Type -> Type) . (PersistEntityBackend record ~ BaseBackend backend, MonadIO m, PersistEntity record, PersistStoreRead backend) => Key record -> ReaderT backend m (Entity record)

    hledger-web Hledger.Web.Import

    Same as getJust, but returns an Entity instead of just the record.

    Example usage

    With schema-1 and dataset-1,
    getJustEntitySpj :: MonadIO m => ReaderT SqlBackend m (Entity User)
    getJustEntitySpj = getJustEntity spjId
    
    spjEnt <- getJustEntitySpj
    
    The above query when applied on dataset-1, will get this entity:
    +----+------+-----+
    | id | name | age |
    +----+------+-----+
    |  1 | SPJ  |  40 |
    +----+------+-----+
    

Page 133 of many | Previous | Next