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.
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.
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.
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.
company :: BBDB -> Maybe [String]bbdb Database.BBDB No documentation available.
module Math.Checksum.CitizenCard.
Germany Personalausweisnummer https://de.wikipedia.org/wiki/Ausweisnummer
catchAny :: MonadUnliftIO m => m a -> (SomeException -> m a) -> m aclassy-prelude-yesod ClassyPrelude.Yesod catch specialized to catch all synchronous exceptions.
catchAnyDeep :: (NFData a, MonadUnliftIO m) => m a -> (SomeException -> m a) -> m aclassy-prelude-yesod ClassyPrelude.Yesod catchDeep specialized to catch all synchronous exception.
-
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 | +----+-------+-----+
handleAny :: MonadUnliftIO m => (SomeException -> m a) -> m a -> m aclassy-prelude-yesod ClassyPrelude.Yesod Flipped version of catchAny.
handleAnyDeep :: (MonadUnliftIO m, NFData a) => (SomeException -> m a) -> m a -> m aclassy-prelude-yesod ClassyPrelude.Yesod Flipped version of catchAnyDeep.