Safe Haskell | None |
---|---|
Language | Haskell2010 |
Run a GHCi configured with the user's package(s).
Synopsis
- data GhciOpts = GhciOpts {
- ghciTargets :: ![Text]
- ghciArgs :: ![String]
- ghciGhcOptions :: ![Text]
- ghciFlags :: !(Map (Maybe PackageName) (Map FlagName Bool))
- ghciGhcCommand :: !(Maybe FilePath)
- ghciNoLoadModules :: !Bool
- ghciAdditionalPackages :: ![String]
- ghciMainIs :: !(Maybe Text)
- ghciLoadLocalDeps :: !Bool
- ghciSkipIntermediate :: !Bool
- ghciHidePackages :: !(Maybe Bool)
- ghciNoBuild :: !Bool
- ghciOnlyMain :: !Bool
- data GhciPkgInfo = GhciPkgInfo {
- ghciPkgName :: !PackageName
- ghciPkgOpts :: ![(NamedComponent, BuildInfoOpts)]
- ghciPkgDir :: !(Path Abs Dir)
- ghciPkgModules :: !ModuleMap
- ghciPkgCFiles :: !(Set (Path Abs File))
- ghciPkgMainIs :: !(Map NamedComponent (Set (Path Abs File)))
- ghciPkgTargetFiles :: !(Maybe (Set (Path Abs File)))
- ghciPkgPackage :: !Package
- data GhciException
- ghci :: HasEnvConfig env => GhciOpts -> RIO env ()
Documentation
Command-line options for GHC.
GhciOpts | |
|
data GhciPkgInfo Source #
Necessary information to load a package or its components.
GhciPkgInfo | |
|
Instances
Show GhciPkgInfo Source # | |
Defined in Stack.Ghci showsPrec :: Int -> GhciPkgInfo -> ShowS # show :: GhciPkgInfo -> String # showList :: [GhciPkgInfo] -> ShowS # |
data GhciException Source #
InvalidPackageOption String | |
LoadingDuplicateModules | |
MissingFileTarget String | |
Can'tSpecifyFilesAndTargets | |
Can'tSpecifyFilesAndMainIs | |
GhciTargetParseException [Text] |
Instances
Show GhciException Source # | |
Defined in Stack.Ghci showsPrec :: Int -> GhciException -> ShowS # show :: GhciException -> String # showList :: [GhciException] -> ShowS # | |
Exception GhciException Source # | |
Defined in Stack.Ghci |