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. waitAnyCancel :: [Async a] -> IO (Async a, a)

    async-pool Control.Concurrent.Async.Pool

    Like waitAny, but also cancels the other asynchronous operations as soon as one has completed.

  2. waitAnyCatch :: [Async a] -> IO (Async a, Either SomeException a)

    async-pool Control.Concurrent.Async.Pool

    Wait for any of the supplied asynchronous operations to complete. The value returned is a pair of the Async that completed, and the result that would be returned by wait on that Async. If multiple Asyncs complete or have completed, then the value returned corresponds to the first completed Async in the list.

  3. waitAnyCatchCancel :: [Async a] -> IO (Async a, Either SomeException a)

    async-pool Control.Concurrent.Async.Pool

    Like waitAnyCatch, but also cancels the other asynchronous operations as soon as one has completed.

  4. company :: BBDB -> Maybe [String]

    bbdb Database.BBDB

    No documentation available.

  5. module Math.Checksum.CitizenCard.Germany

    Personalausweisnummer https://de.wikipedia.org/wiki/Ausweisnummer

  6. catchAny :: MonadUnliftIO m => m a -> (SomeException -> m a) -> m a

    classy-prelude-yesod ClassyPrelude.Yesod

    catch specialized to catch all synchronous exceptions.

  7. catchAnyDeep :: (NFData a, MonadUnliftIO m) => m a -> (SomeException -> m a) -> m a

    classy-prelude-yesod ClassyPrelude.Yesod

    catchDeep specialized to catch all synchronous exception.

  8. getMany :: forall record (m :: Type -> Type) . (PersistStoreRead backend, MonadIO m, PersistRecordBackend record backend) => [Key record] -> ReaderT backend m (Map (Key record) record)

    classy-prelude-yesod ClassyPrelude.Yesod

    Get many records by their respective identifiers, if available.

    Example usage

    With schema-1 and dataset-1:
    getUsers :: MonadIO m => ReaderT SqlBackend m (Map (Key User) User)
    getUsers = getMany allkeys
    
    musers <- getUsers
    
    The above query when applied on dataset-1, will get these records:
    +----+-------+-----+
    | id | name  | age |
    +----+-------+-----+
    |  1 | SPJ   |  40 |
    +----+-------+-----+
    |  2 | Simon |  41 |
    +----+-------+-----+
    

  9. handleAny :: MonadUnliftIO m => (SomeException -> m a) -> m a -> m a

    classy-prelude-yesod ClassyPrelude.Yesod

    Flipped version of catchAny.

  10. handleAnyDeep :: (MonadUnliftIO m, NFData a) => (SomeException -> m a) -> m a -> m a

    classy-prelude-yesod ClassyPrelude.Yesod

    Flipped version of catchAnyDeep.

Page 250 of many | Previous | Next