HORIZON HASKELLDocslts/ghc-10.0.x8fef28d2026-11-02Search packagesCtrl K
Theme: |

GHC 10.0.0.20260917 · lts/ghc-10.0.x · 8fef28d · 2026-11-02

Moduleprocess-extras-0.7.4Haskell2010

System.Process.Run

Flexible control of progress reporting for readCreateProcess and friends.

Contents
  1. Monad transformer
  2. Monad class
  3. Modify moand RunM state parameters
  4. Monadic process runner
  5. Re-exports
Synopsis

Monad transformer

datadata RunState text

This is the state record that controls the output style.

Constructors

Instances1Default
datadata OutputStyle
#

Constructors

  • Dots Int

    Output one dot per n output characters

  • All

    send process stdout to console stdout and process stderr to console stderr

  • Indented

    Output with prefixes

  • Silent

    No output

Monad class

classclass (MonadState (RunState text) m, ProcessText text char, ListLikeProcessIO text char, MonadIO m, IsString text, Eq char, Dot char) => RunM text char (m :: Type -> Type)
#
Instances5RunM

Modify moand RunM state parameters

valuevlevel
  1. :: (IsString text, ListLike text char, MonadIO m, MonadState (RunState text) m)
  2. => Int
  3. -> m ()

Set verbosity to a specific level from 0 to 3. vlevel :: (MonadIO m, Monoid text, MonadState (RunState text) m) => Int -> m () vlevel :: forall m text char. (IsString text, ListLike text char, MonadIO m) => Int -> m ()

valuemessage :: RunM text char m => (text -> text) -> m ()
#

Monadic process runner

Re-exports