Hoogle Search

Within LTS Haskell 24.26 (ghc-9.10.3)

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

  1. ifM :: Monad m => m Bool -> m a -> m a -> m a

    extra Control.Monad.Extra

    Like if, but where the test can be monadic.

  2. ifM :: Monad m => m Bool -> m a -> m a -> m a

    extra Extra

    Like if, but where the test can be monadic.

  3. ifM :: Monad m => m Bool -> m a -> m a -> m a

    relude Relude.Bool.Guard

    Monadic version of if-then-else.

    >>> ifM (pure True) (putTextLn "True text") (putTextLn "False text")
    True text
    
    >>> ifM (pure False) (putTextLn "True text") (putTextLn "False text")
    False text
    

  4. ifM :: Monad m => m Bool -> m a -> m a -> m a

    protolude Protolude.Bool

    No documentation available.

  5. ifM :: Monad m => m Bool -> m a -> m a -> m a

    simple-cmd SimpleCmd

    Like if, but where the test can be monadic.

  6. ifM :: Monad m => m Bool -> m a -> m a -> m a

    incipit-base Incipit.Misc

    Variant of ifthenelse that takes a monadic action for the condition and branches.

  7. ifM :: Monad m => m Bool -> m a -> m a -> m a

    liquid-fixpoint Language.Fixpoint.Misc

    No documentation available.

  8. ifM :: Monad m => m Bool -> m b -> m b -> m b

    liquidhaskell-boot Language.Haskell.Liquid.Misc

    No documentation available.

  9. ifM :: Monad m => m Bool -> m a -> m a -> m a

    tasty-silver Test.Tasty.Silver.Internal

    Monadic if.

  10. ifM :: Monad m => m Bool -> m a -> m a -> m a

    xmonad XMonad.Core

    If-then-else lifted to a Monad.

Page 1 of many | Next