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

GHC 10.0.0.20260917 · lts/ghc-10.0.x · fc4e598 · 2026-10-11

Moduleprocex-0.3.3Haskell2010

Procex.Shell

You'll likely want to import this if you're using Procex for your shell, though you'll likely want to customize your promptFunction some time.

  • 3 values
  • Packageprocex-0.3.3
  • Exports3
  • LanguageHaskell2010
  • LicenceMIT
  • SourceShell.hs
valuepromptFunction :: [String] -> Int -> IO String
#

For some ungodly reason, cd-ing inside ghci won't change the cwd of ghci itself, so completion, etc. will always happen from the directory you started ghci in. This is a quick hack to work around this by also running changeWorkingDirectory "above" the shell.

Do `:set prompt-function promptFunction` in GHCi

valueinitInteractive :: IO ()
#

You need to run this if you want stdin to work properly inside ghci.