stack-2.14.0: The Haskell Tool Stack
Safe HaskellSafe-Inferred
LanguageGHC2021

Stack.Ghci

Description

Types and functions related to Stack's ghci and repl commands.

Synopsis

Documentation

data GhciOpts Source #

Typre respresenting command line options for the stack ghci and stack repl commands.

Instances

Instances details
Show GhciOpts Source # 
Instance details

Defined in Stack.Ghci

data GhciPkgInfo Source #

Type representing information required to load a package or its components.

NOTE: GhciPkgInfo has paths as list instead of a Set to preserve files order as a workaround for bug https://ghc.haskell.org/trac/ghc/ticket/13786

Instances

Instances details
Show GhciPkgInfo Source # 
Instance details

Defined in Stack.Ghci

newtype GhciPrettyException Source #

Type representing 'pretty' exceptions thrown by functions exported by the Stack.Ghci module.

ghciCmd :: GhciOpts -> RIO Runner () Source #

Function underlying the stack ghci and stack repl commands. Run GHCi in the context of a project.

ghci :: HasEnvConfig env => GhciOpts -> RIO env () Source #

Launch a GHCi session for the given local package targets with the given options and configure it with the load paths and extensions of those targets.