Hoogle Search
Within LTS Haskell 9.0 (ghc8.0.2)
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.
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.

testframework Test.Framework.Providers.API No documentation available.
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.
orElse :: Maybe a > Maybe a > Maybe a
syb Data.Generics.Aliases Leftbiased choice on maybes

ghc Maybes Flipped version of fromMaybe, useful for chaining.
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
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.
orElse :: Predicate a f t > Predicate a f t' > Predicate a f (Either t t')
waipredicates 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, orif equalthe lefthand argument.
orElse :: Maybe a > Maybe a > Maybe a
RepLib Generics.RepLib.SYB.Aliases Leftbiased choice on maybies
Page 1 of many  Next