nvim-hs-0.2.5: Haskell plugin backend for neovim

Neovim.Util

Description

Synopsis

# Documentation

withCustomEnvironment :: (MonadMask io, MonadIO io) => [(String, Maybe String)] -> io a -> io a Source #

Execute the given action with a changed set of environment variables and restore the original state of the environment afterwards.

whenM :: Monad m => m Bool -> m () -> m () Source #

when with a monadic predicate.

unlessM :: Monad m => m Bool -> m () -> m () Source #

unless with a monadic predicate.