HORIZON HASKELLDocslts/ghc-9.10.xc74966e2026-09-27Search names, modules, packages, or :: a typeCtrl K

GHC 9.10.3 · lts/ghc-9.10.x · c74966e · 2026-09-27

Moduleprocess-extras-0.7.4Haskell2010

System.Process.Run

Flexible control of progress reporting for readCreateProcess and friends.

  • 3 types
  • 1 class
  • 14 values

Monad transformer

4 declarations
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

1 declaration
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

12 declarations
valueindent
  1. :: (MonadState (RunState t) m, ListLike t char)
  2. => t -> t
  3. -> t -> t
  4. -> m ()
#

Modify the indentation prefixes for stdout and stderr in the progress monad.

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

1 declaration

Re-exports

0 declarations