Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
This module provides an entry point to the Weeder executable.
Documentation
Parse command line arguments and into a Config
and run mainWithConfig
.
Exits with one of the listed Weeder exit codes on failure.
getHieFiles :: String -> [FilePath] -> Bool -> IO [HieFile] Source #
Find and read all .hie files in the given directories according to the given parameters, exiting if any are incompatible with the current version of GHC. The .hie files are returned as a lazy stream in the form of a list.
Will rethrow exceptions as ExceptionInLinkedThread
to the calling thread.