Hoogle Search

Within LTS Haskell 8.12 (ghc-8.0.2)

  1. orElse :: STM a -> STM a -> STM a

    base GHC.Conc

    Compose two alternative STM actions (GHC only). If the first action completes without retrying then it forms the result of the orElse. Otherwise, if the first action retries, then the second action is tried in its place. If both actions retry then the orElse as a whole retries.

  2. orElse :: STM a -> STM a -> STM a

    base GHC.Conc.Sync

    Compose two alternative STM actions (GHC only). If the first action completes without retrying then it forms the result of the orElse. Otherwise, if the first action retries, then the second action is tried in its place. If both actions retry then the orElse as a whole retries.

  3. orElse :: Maybe a -> a -> a

    test-framework Test.Framework.Providers.API

    No documentation available.

  4. orElse :: STM a -> STM a -> STM a

    stm Control.Monad.STM

    Compose two alternative STM actions (GHC only). If the first action completes without retrying then it forms the result of the orElse. Otherwise, if the first action retries, then the second action is tried in its place. If both actions retry then the orElse as a whole retries.

  5. orElse :: Maybe a -> Maybe a -> Maybe a

    syb Data.Generics.Aliases

    Left-biased choice on maybes

  6. orElse :: Maybe a -> a -> a

    ghc Maybes

    Flipped version of fromMaybe, useful for chaining.

  7. orElse :: ArrowIf a => a b c -> a b c -> a b c

    hxt Control.Arrow.ArrowIf

    f `orElse` g : directional choice: if f succeeds, the result of f is the result, else g is applied

  8. orElse :: MonadSTM stm => stm a -> stm a -> stm a

    concurrency Control.Monad.STM.Class

    Run the first transaction and, if it retrys, run the second instead. If the monad is an instance of 'Alternative'/'MonadPlus', orElse should be the '(|)'/'mplus' function.

  9. orElse :: Predicate a f t -> Predicate a f t' -> Predicate a f (Either t t')

    wai-predicates Data.Predicate

    A predicate corresponding to the logical OR connective of two predicates. The metadata of each Okay branch can be of different types. If both arguments evaluate to Okay the one with the smaller "delta" will be preferred, or--if equal--the left-hand argument.

  10. orElse :: Maybe a -> Maybe a -> Maybe a

    RepLib Generics.RepLib.SYB.Aliases

    Left-biased choice on maybies

Page 1 of many | Next