HORIZON HASKELLDocslts/ghc-9.10.x248f8f02026-10-05Search names, modules, packages, or :: a typeCtrl K

GHC 9.10.3 · lts/ghc-9.10.x · 248f8f0 · 2026-10-05

Modulerio-0.1.22.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.22.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