/usr/share/doc/libghc-leksah-server-doc/html/leksah-server.txt is in libghc-leksah-server-doc 0.12.1.2-3build2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 | -- Hoogle documentation, generated by Haddock
-- See Hoogle, http://www.haskell.org/hoogle/
-- | Metadata collection for leksah
--
-- The interface to GHC-API for leksah
@package leksah-server
@version 0.12.1.2
module IDE.Utils.Server
-- | make an IP Address: (127,0,0,1) is the localhost
ipAddress :: (Word8, Word8, Word8, Word8) -> HostAddress
-- | the specification of a serving process
data Server
Server :: SockAddr -> SocketType -> ServerRoutine -> Server
serverAddr :: Server -> SockAddr
serverTyp :: Server -> SocketType
serverRoutine :: Server -> ServerRoutine
serveOne :: Maybe UserAndGroup -> Server -> IO (ThreadId, MVar ())
serveMany :: Maybe UserAndGroup -> [Server] -> IO [(ThreadId, MVar ())]
-- | the functionality of a server
type ServerRoutine = (Handle, HostName, PortNumber) -> IO ()
data UserAndGroup
UserAndGroup :: String -> String -> UserAndGroup
UserWithDefaultGroup :: String -> UserAndGroup
class WaitFor a
waitFor :: WaitFor a => a -> IO ()
instance WaitFor (ThreadId, MVar ())
instance WaitFor a => WaitFor [a]
instance WaitFor (MVar a)
module IDE.Core.CTypes
data PackageDescr
PackageDescr :: PackageIdentifier -> (Maybe FilePath) -> [ModuleDescr] -> [PackageIdentifier] -> PackageDescr
pdPackage :: PackageDescr -> PackageIdentifier
pdMbSourcePath :: PackageDescr -> (Maybe FilePath)
pdModules :: PackageDescr -> [ModuleDescr]
pdBuildDepends :: PackageDescr -> [PackageIdentifier]
data ModuleDescr
ModuleDescr :: PackModule -> (Maybe FilePath) -> (Map ModuleName (Set String)) -> [Descr] -> ModuleDescr
mdModuleId :: ModuleDescr -> PackModule
mdMbSourcePath :: ModuleDescr -> (Maybe FilePath)
mdReferences :: ModuleDescr -> (Map ModuleName (Set String))
mdIdDescriptions :: ModuleDescr -> [Descr]
data Descr
Real :: RealDescr -> Descr
Reexported :: ReexportedDescr -> Descr
data RealDescr
RealDescr :: String -> Maybe ByteString -> Maybe PackModule -> Maybe Location -> Maybe ByteString -> TypeDescr -> Bool -> RealDescr
dscName' :: RealDescr -> String
dscMbTypeStr' :: RealDescr -> Maybe ByteString
dscMbModu' :: RealDescr -> Maybe PackModule
dscMbLocation' :: RealDescr -> Maybe Location
dscMbComment' :: RealDescr -> Maybe ByteString
dscTypeHint' :: RealDescr -> TypeDescr
dscExported' :: RealDescr -> Bool
data ReexportedDescr
ReexportedDescr :: Maybe PackModule -> Descr -> ReexportedDescr
dsrMbModu :: ReexportedDescr -> Maybe PackModule
dsrDescr :: ReexportedDescr -> Descr
newtype Present alpha
Present :: alpha -> Present alpha
data TypeDescr
VariableDescr :: TypeDescr
FieldDescr :: Descr -> TypeDescr
ConstructorDescr :: Descr -> TypeDescr
-- | first constructors, then fields
DataDescr :: [SimpleDescr] -> [SimpleDescr] -> TypeDescr
TypeDescr :: TypeDescr
-- | first constructors, then maybe field
NewtypeDescr :: SimpleDescr -> (Maybe SimpleDescr) -> TypeDescr
-- | first super, then methods
ClassDescr :: [String] -> [SimpleDescr] -> TypeDescr
-- | classDescr
MethodDescr :: Descr -> TypeDescr
-- | binds
InstanceDescr :: [String] -> TypeDescr
KeywordDescr :: TypeDescr
ExtensionDescr :: TypeDescr
ModNameDescr :: TypeDescr
QualModNameDescr :: TypeDescr
ErrorDescr :: TypeDescr
data DescrType
Variable :: DescrType
Field :: DescrType
Constructor :: DescrType
Data :: DescrType
Type :: DescrType
Newtype :: DescrType
Class :: DescrType
Method :: DescrType
Instance :: DescrType
Keyword :: DescrType
Extension :: DescrType
ModName :: DescrType
QualModName :: DescrType
Error :: DescrType
data SimpleDescr
SimpleDescr :: String -> Maybe ByteString -> Maybe Location -> Maybe ByteString -> Bool -> SimpleDescr
sdName :: SimpleDescr -> String
sdType :: SimpleDescr -> Maybe ByteString
sdLocation :: SimpleDescr -> Maybe Location
sdComment :: SimpleDescr -> Maybe ByteString
sdExported :: SimpleDescr -> Bool
data GenScope
GenScopeC :: (PackScope alpha) -> GenScope
dscName :: Descr -> String
dscMbTypeStr :: Descr -> Maybe ByteString
-- | The definition module
dscMbModu :: Descr -> Maybe PackModule
-- | The exporting module
dsMbModu :: Descr -> Maybe PackModule
dscMbLocation :: Descr -> Maybe Location
dscMbComment :: Descr -> Maybe ByteString
dscTypeHint :: Descr -> TypeDescr
dscExported :: Descr -> Bool
descrType :: TypeDescr -> DescrType
isReexported :: Descr -> Bool
data PackScope alpha
PackScope :: (Map PackageIdentifier PackageDescr) -> alpha -> PackScope alpha
class SymbolTable alpha
symLookup :: SymbolTable alpha => String -> alpha -> [Descr]
symbols :: SymbolTable alpha => alpha -> Set String
symSplitLookup :: SymbolTable alpha => String -> alpha -> (alpha, Maybe [Descr], alpha)
symInsert :: SymbolTable alpha => String -> [Descr] -> alpha -> alpha
symEmpty :: SymbolTable alpha => alpha
symElems :: SymbolTable alpha => alpha -> [[Descr]]
symUnion :: SymbolTable alpha => alpha -> alpha -> alpha
data PackModule
PM :: PackageIdentifier -> ModuleName -> PackModule
pack :: PackModule -> PackageIdentifier
modu :: PackModule -> ModuleName
parsePackModule :: String -> PackModule
showPackModule :: PackModule -> String
packageIdentifierToString :: PackageIdentifier -> String
packageIdentifierFromString :: String -> Maybe PackageIdentifier
data Location
Location :: Int -> Int -> Int -> Int -> Location
locationSLine :: Location -> Int
locationSCol :: Location -> Int
locationELine :: Location -> Int
locationECol :: Location -> Int
-- | A portion of the source, spanning one or more lines and zero or more
-- columns.
data SrcSpan
SrcSpan :: String -> Int -> Int -> Int -> Int -> SrcSpan
srcSpanFilename :: SrcSpan -> String
srcSpanStartLine :: SrcSpan -> Int
srcSpanStartColumn :: SrcSpan -> Int
srcSpanEndLine :: SrcSpan -> Int
srcSpanEndColumn :: SrcSpan -> Int
data Scope
PackageScope :: Bool -> Scope
WorkspaceScope :: Bool -> Scope
SystemScope :: Scope
data ServerCommand
SystemCommand :: Bool -> Bool -> Bool -> ServerCommand
scRebuild :: ServerCommand -> Bool
scSources :: ServerCommand -> Bool
scExtract :: ServerCommand -> Bool
WorkspaceCommand :: Bool -> PackageIdentifier -> FilePath -> [(String, FilePath)] -> ServerCommand
wcRebuild :: ServerCommand -> Bool
wcPackage :: ServerCommand -> PackageIdentifier
wcPath :: ServerCommand -> FilePath
wcModList :: ServerCommand -> [(String, FilePath)]
ParseHeaderCommand :: FilePath -> ServerCommand
hcFilePath :: ServerCommand -> FilePath
data ServerAnswer
ServerOK :: ServerAnswer
ServerFailed :: String -> ServerAnswer
ServerHeader :: (Either [ImportDecl] Int) -> ServerAnswer
leksahVersion :: String
configDirName :: String
metadataVersion :: Integer
-- | An import declaration.
data ImportDecl
ImportDecl :: Location -> String -> Bool -> Bool -> Maybe String -> Maybe String -> Maybe ImportSpecList -> ImportDecl
importLoc :: ImportDecl -> Location
-- | name of the module imported.
importModule :: ImportDecl -> String
-- | imported <tt>qualified</tt>?
importQualified :: ImportDecl -> Bool
-- | imported with <tt>{-# SOURCE #-}</tt>?
importSrc :: ImportDecl -> Bool
-- | imported with explicit package name
importPkg :: ImportDecl -> Maybe String
-- | optional alias name in an <tt>as</tt> clause.
importAs :: ImportDecl -> Maybe String
-- | optional list of import specifications.
importSpecs :: ImportDecl -> Maybe ImportSpecList
-- | An explicit import specification list.
data ImportSpecList
ImportSpecList :: Bool -> [ImportSpec] -> ImportSpecList
-- | An import specification, representing a single explicit item imported
-- (or hidden) from a module.
data ImportSpec
-- | variable
IVar :: String -> ImportSpec
-- | <tt>T</tt>: the name of a class, datatype or type synonym.
IAbs :: String -> ImportSpec
-- | <tt>T(..)</tt>: a class imported with all of its methods, or a
-- datatype imported with all of its constructors.
IThingAll :: String -> ImportSpec
-- | <tt>T(C_1,...,C_n)</tt>: a class imported with some of its methods, or
-- a datatype imported with some of its constructors.
IThingWith :: String -> [String] -> ImportSpec
getThisPackage :: PackageConfig -> PackageIdentifier
data RetrieveStrategy
RetrieveThenBuild :: RetrieveStrategy
BuildThenRetrieve :: RetrieveStrategy
NeverRetrieve :: RetrieveStrategy
instance Typeable PackModule
instance Typeable Location
instance Typeable SimpleDescr
instance Typeable RealDescr
instance Typeable TypeDescr
instance Typeable Descr
instance Typeable ReexportedDescr
instance Typeable ModuleDescr
instance Typeable PackageDescr
instance Show RetrieveStrategy
instance Read RetrieveStrategy
instance Eq RetrieveStrategy
instance Ord RetrieveStrategy
instance Enum RetrieveStrategy
instance Bounded RetrieveStrategy
instance Eq ServerCommand
instance Ord ServerCommand
instance Show ServerCommand
instance Read ServerCommand
instance Show DescrType
instance Eq DescrType
instance Ord DescrType
instance Bounded DescrType
instance Enum DescrType
instance Read DescrType
instance Eq PackModule
instance Ord PackModule
instance Read PackModule
instance Show PackModule
instance Eq SrcSpan
instance Ord SrcSpan
instance Show SrcSpan
instance Show Location
instance Eq Location
instance Ord Location
instance Read Location
instance Show SimpleDescr
instance Read SimpleDescr
instance Eq SimpleDescr
instance Ord SimpleDescr
instance Show RealDescr
instance Read RealDescr
instance Show TypeDescr
instance Read TypeDescr
instance Eq TypeDescr
instance Ord TypeDescr
instance Show Descr
instance Read Descr
instance Eq Descr
instance Ord Descr
instance Show ReexportedDescr
instance Read ReexportedDescr
instance Show ModuleDescr
instance Show PackageDescr
instance Show Scope
instance Eq Scope
instance Read Scope
instance Eq ImportSpec
instance Ord ImportSpec
instance Read ImportSpec
instance Show ImportSpec
instance Eq ImportSpecList
instance Ord ImportSpecList
instance Read ImportSpecList
instance Show ImportSpecList
instance Eq ImportDecl
instance Ord ImportDecl
instance Read ImportDecl
instance Show ImportDecl
instance Eq ServerAnswer
instance Ord ServerAnswer
instance Show ServerAnswer
instance Read ServerAnswer
instance NFData PackageName
instance NFData ModuleName
instance NFData PackModule
instance NFData DescrType
instance NFData PackageIdentifier
instance NFData SimpleDescr
instance NFData TypeDescr
instance NFData Descr
instance NFData ModuleDescr
instance NFData PackageDescr
instance NFData Location
instance Pretty VName
instance Pretty ImportSpec
instance Pretty ImportDecl
instance Ord Scope
instance Default ByteString
instance Default PackageIdentifier
instance Default PackModule
instance Ord ReexportedDescr
instance Eq ReexportedDescr
instance Ord RealDescr
instance Eq RealDescr
instance Show (Present Descr)
instance Show (Present PackModule)
instance Default DescrType
instance Ord ModuleDescr
instance Eq ModuleDescr
instance Show (Present ModuleDescr)
instance Default ModuleDescr
instance Ord PackageDescr
instance Eq PackageDescr
instance Show (Present PackageDescr)
instance Default PackageDescr
instance SymbolTable (Map String [Descr])
module IDE.Core.Serializable
instance Typeable PackageName
instance Typeable ModuleName
instance Typeable PackageIdentifier
instance BinaryShared PackageName
instance BinaryShared ModuleName
instance BinaryShared Location
instance BinaryShared SimpleDescr
instance BinaryShared TypeDescr
instance BinaryShared Descr
instance BinaryShared ModuleDescr
instance BinaryShared PackageDescr
instance BinaryShared Version
instance BinaryShared PackageIdentifier
instance BinaryShared PackModule
module IDE.StrippedPrefs
-- | Preferences is a data structure to hold configuration data
data Prefs
Prefs :: [FilePath] -> Maybe FilePath -> String -> RetrieveStrategy -> Int -> Bool -> Prefs
sourceDirectories :: Prefs -> [FilePath]
unpackDirectory :: Prefs -> Maybe FilePath
retrieveURL :: Prefs -> String
retrieveStrategy :: Prefs -> RetrieveStrategy
serverPort :: Prefs -> Int
endWithLastConn :: Prefs -> Bool
data RetrieveStrategy
RetrieveThenBuild :: RetrieveStrategy
BuildThenRetrieve :: RetrieveStrategy
NeverRetrieve :: RetrieveStrategy
readStrippedPrefs :: FilePath -> IO Prefs
writeStrippedPrefs :: FilePath -> Prefs -> IO ()
getSourceDirectories :: Prefs -> IO [FilePath]
getUnpackDirectory :: Prefs -> IO (Maybe FilePath)
instance Eq Prefs
instance Show Prefs
-- | Support for running external tools. Written mainly for GHCi but with |
-- support for others in mind.
module IDE.Utils.Tool
data ToolOutput
ToolInput :: String -> ToolOutput
ToolError :: String -> ToolOutput
ToolOutput :: String -> ToolOutput
ToolPrompt :: String -> ToolOutput
ToolExit :: ExitCode -> ToolOutput
toolline :: ToolOutput -> String
data ToolCommand
ToolCommand :: String -> String -> (Iteratee ToolOutput IO ()) -> ToolCommand
data ToolState
ToolState :: MVar ProcessHandle -> MVar Bool -> Chan ToolCommand -> Chan ToolCommand -> MVar ToolCommand -> ToolState
toolProcessMVar :: ToolState -> MVar ProcessHandle
outputClosed :: ToolState -> MVar Bool
toolCommands :: ToolState -> Chan ToolCommand
toolCommandsRead :: ToolState -> Chan ToolCommand
currentToolCommand :: ToolState -> MVar ToolCommand
toolProcess :: ToolState -> IO ProcessHandle
newToolState :: IO ToolState
runTool :: MonadIO m => FilePath -> [String] -> Maybe FilePath -> IO (Enumerator ToolOutput m b, ProcessHandle)
runTool' :: FilePath -> [String] -> Maybe FilePath -> IO ([ToolOutput], ProcessHandle)
runInteractiveTool :: ToolState -> CommandLineReader -> FilePath -> [String] -> IO ()
newGhci :: [String] -> [String] -> (Iteratee ToolOutput IO ()) -> IO ToolState
newGhci' :: [String] -> (Iteratee ToolOutput IO ()) -> IO ToolState
executeCommand :: ToolState -> String -> String -> Iteratee ToolOutput IO () -> IO ()
executeGhciCommand :: ToolState -> String -> Iteratee ToolOutput IO () -> IO ()
quoteArg :: String -> String
escapeQuotes :: String -> String
-- | Runs a command using the shell.
runCommand :: String -> IO ProcessHandle
-- | Waits for the specified process to terminate, and returns its exit
-- code.
--
-- GHC Note: in order to call <tt>waitForProcess</tt> without blocking
-- all the other threads in the system, you must compile the program with
-- <tt>-threaded</tt>.
waitForProcess :: ProcessHandle -> IO ExitCode
-- | Sends an interrupt signal to the process group of the given process.
--
-- On Unix systems, it sends the group the SIGINT signal.
--
-- On Windows systems, it generates a CTRL_BREAK_EVENT and will only work
-- for processes created using <a>createProcess</a> and setting the
-- <a>create_group</a> flag
interruptProcessGroupOf :: ProcessHandle -> IO ()
data ProcessHandle :: *
-- | This is a non-blocking version of <a>waitForProcess</a>. If the
-- process is still running, <a>Nothing</a> is returned. If the process
-- has exited, then <tt><a>Just</a> e</tt> is returned where <tt>e</tt>
-- is the exit code of the process.
getProcessExitCode :: ProcessHandle -> IO (Maybe ExitCode)
-- | Runs a raw command, and returns <a>Handle</a>s that may be used to
-- communicate with the process via its <tt>stdin</tt>, <tt>stdout</tt>
-- and <tt>stderr</tt> respectively.
--
-- For example, to start a process and feed a string to its stdin:
--
-- <pre>
-- (inp,out,err,pid) <- runInteractiveProcess "..."
-- forkIO (hPutStr inp str)
-- </pre>
--
-- The <a>Handle</a>s are initially in binary mode; if you need them to
-- be in text mode then use <a>hSetBinaryMode</a>.
runInteractiveProcess :: FilePath -> [String] -> Maybe FilePath -> Maybe [(String, String)] -> IO (Handle, Handle, Handle, ProcessHandle)
-- | Runs a raw command, optionally specifying <a>Handle</a>s from which to
-- take the <tt>stdin</tt>, <tt>stdout</tt> and <tt>stderr</tt> channels
-- for the new process (otherwise these handles are inherited from the
-- current process).
--
-- Any <a>Handle</a>s passed to <a>runProcess</a> are placed immediately
-- in the closed state.
--
-- Note: consider using the more general <a>createProcess</a> instead of
-- <a>runProcess</a>.
runProcess :: FilePath -> [String] -> Maybe FilePath -> Maybe [(String, String)] -> Maybe Handle -> Maybe Handle -> Maybe Handle -> IO ProcessHandle
instance Eq ToolOutput
instance Show ToolOutput
instance Eq RawToolOutput
instance Show RawToolOutput
instance NFData ToolOutput
instance NFData ExitCode
module IDE.Utils.VersionUtils
getHaddockVersion :: IO String
getGhcVersion :: IO FilePath
module IDE.Utils.Utils
leksahSessionFileExtension :: [Char]
leksahWorkspaceFileExtension :: [Char]
leksahPreferencesFileExtension :: [Char]
leksahCandyFileExtension :: [Char]
leksahKeymapFileExtension :: [Char]
leksahSourcesFileExtension :: [Char]
leksahMetadataSystemFileExtension :: [Char]
leksahMetadataPathFileExtension :: [Char]
leksahMetadataWorkspaceFileExtension :: [Char]
leksahMetadataDebugExtension :: [Char]
leksahTemplateFileExtension :: [Char]
leksahFlagFileExtension :: [Char]
standardSessionFilename :: [Char]
emptySessionFilename :: [Char]
packageSessionFilename :: [Char]
standardKeymapFilename :: [Char]
standardCandyFilename :: [Char]
standardPreferencesFilename :: [Char]
strippedPreferencesFilename :: [Char]
standardSourcesFilename :: [Char]
standardModuleTemplateFilename :: [Char]
module IDE.Utils.FileUtils
allModules :: FilePath -> IO [ModuleName]
allHiFiles :: FilePath -> IO [FilePath]
allHaskellSourceFiles :: FilePath -> IO [FilePath]
isEmptyDirectory :: FilePath -> IO Bool
cabalFileName :: FilePath -> IO (Maybe FilePath)
allCabalFiles :: FilePath -> IO [FilePath]
getConfigFilePathForLoad :: String -> Maybe FilePath -> FilePath -> IO FilePath
hasSavedConfigFile :: String -> IO Bool
-- | The directory where config files reside
getConfigDir :: IO FilePath
getConfigFilePathForSave :: String -> IO FilePath
getCollectorPath :: MonadIO m => m FilePath
getSysLibDir :: IO FilePath
moduleNameFromFilePath :: FilePath -> IO (Maybe String)
moduleNameFromFilePath' :: FilePath -> String -> IO (Maybe String)
findKnownPackages :: FilePath -> IO (Set String)
-- | Returns True if the second path is a location which starts with the
-- first path
isSubPath :: FilePath -> FilePath -> Bool
findSourceFile :: [FilePath] -> [String] -> ModuleName -> IO (Maybe FilePath)
findSourceFile' :: [FilePath] -> String -> IO (Maybe FilePath)
haskellSrcExts :: [String]
getCabalUserPackageDir :: IO (Maybe FilePath)
autoExtractCabalTarFiles :: FilePath -> IO ()
autoExtractTarFiles :: FilePath -> IO ()
getInstalledPackageIds :: IO [PackageIdentifier]
figureOutGhcOpts :: IO [String]
figureOutHaddockOpts :: IO [String]
allFilesWithExtensions :: [String] -> Bool -> [FilePath] -> FilePath -> IO [FilePath]
-- | canonicalizePath without crashing
myCanonicalizePath :: String -> IO String
module IDE.Utils.GHCUtils
inGhcIO :: [String] -> [DynFlag] -> (DynFlags -> Ghc a) -> IO a
getInstalledPackageInfos :: Ghc [PackageConfig]
findFittingPackages :: [Dependency] -> Ghc [PackageIdentifier]
myParseModule :: DynFlags -> FilePath -> Maybe StringBuffer -> IO (Either ErrMsg (Located (HsModule RdrName)))
myParseHeader :: FilePath -> String -> [String] -> IO (Either String (DynFlags, HsModule RdrName))
instance MonadIO Ghc
module IDE.Metainfo.PackageCollector
collectPackage :: Bool -> Prefs -> Int -> (PackageConfig, Int) -> IO PackageCollectStats
|