Safe Haskell | None |
---|---|
Language | Haskell98 |
- parseAndBookmark :: (MonadError MultipleErrors m, MonadIO m) => [FilePath] -> [(PackageName, FilePath)] -> m ([InPackage Module], [Bookmark])
Documentation
parseAndBookmark :: (MonadError MultipleErrors m, MonadIO m) => [FilePath] -> [(PackageName, FilePath)] -> m ([InPackage Module], [Bookmark]) Source #
Given:
- A list of local source files
- A list of source files from external dependencies, together with their package names
This function does the following:
- Parse all of the input and dependency source files
- Associate each dependency module with its package name, thereby distinguishing these from local modules
- Collect a list of bookmarks from the whole set of source files
- Return the parsed modules and the bookmarks