Safe Haskell | None |
---|---|
Language | Haskell2010 |
- loadMappedFile :: IOish m => FilePath -> FilePath -> GhcModT m ()
- loadMappedFileSource :: IOish m => FilePath -> String -> GhcModT m ()
- unloadMappedFile :: IOish m => FilePath -> GhcModT m ()
- mapFile :: (IOish m, GmState m) => HscEnv -> Target -> m Target
- fileModSummaryWithMapping :: (IOish m, GmState m, GhcMonad m, GmEnv m) => FilePath -> m ModSummary
Documentation
maps FilePath
, given as first argument to have source as given
by second argument.
'from' may or may not exist, and should be either full path, or relative to project root.
unloads previously mapped file 'file', so that it's no longer mapped, and removes any temporary files created when file was mapped.
'file' should be either full path, or relative to project root.
fileModSummaryWithMapping :: (IOish m, GmState m, GhcMonad m, GmEnv m) => FilePath -> m ModSummary Source #