HORIZON HASKELLDocslts/ghc-9.14.x3e2d5682026-10-11Search names, modules, packages, or :: a typeCtrl K

GHC 9.14.1 · lts/ghc-9.14.x · 3e2d568 · 2026-10-11

Modulerio-0.1.25.0Haskell2010

RIO.Prelude.Simple

Provide a SimpleApp datatype, for providing a basic App-like environment with common functionality built in. This is intended to make it easier to, e.g., use rio's logging and process code from within short scripts.

  • 1 type
  • 2 values
  • Packagerio-0.1.25.0
  • Exports3
  • LanguageHaskell2010
  • LicenceMIT
  • SourceSimple.hs
datadata SimpleApp
#

A simple, non-customizable environment type for RIO, which provides common functionality. If it's insufficient for your needs, define your own, custom App data type.

Instances2HasLogFunc, HasProcessContext
valuerunSimpleApp :: MonadIO m => RIO SimpleApp a -> m a
#

Run with a default configured SimpleApp, consisting of:

  • Logging to stderr

  • If the RIO_VERBOSE environment variable is set, turns on verbose logging

  • Default process context