hsimport-0.2.8: A command line program for extending the import list of a Haskell source file.
HsImport.ImportSpec
data ImportSpec Source
Constructors
Fields
Instances
sourceFile :: Lens' ImportSpec FilePathSource
parsedSrcFile :: Lens' ImportSpec ModuleSource
moduleToImport :: Lens' ImportSpec StringSource
symbolToImport :: Lens' ImportSpec (Maybe String)Source
qualifiedName :: Lens' ImportSpec (Maybe String)Source
saveToFile :: Lens' ImportSpec (Maybe FilePath)Source
hsImportSpec :: HsImportArgs -> IO (Either Error ImportSpec)Source