relude-0.2.0: Custom prelude from Kowainik

Copyright(c) 2016 Stephen Diehl
(c) 20016-2018 Serokell
(c) 2018 Kowainik
LicenseMIT
MaintainerKowainik <xrom.xkov@gmail.com>
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.