relude-0.1.1: Custom prelude from Kowainik

Safe HaskellSafe
LanguageHaskell2010

Relude.Lifted.Exit

Description

Lifted versions of functions that work with exit processes.

Synopsis

Documentation

exitWith :: MonadIO m => ExitCode -> m a Source #

Lifted version of exitWith.

exitFailure :: MonadIO m => m a Source #

Lifted version of exitFailure.

exitSuccess :: MonadIO m => m a Source #

Lifted version of exitSuccess.

die :: MonadIO m => String -> m () Source #

Lifted version of die. die is available since base-4.8, but it's more convenient to redefine it instead of using CPP.