weeder-2.1.3: Detect dead code
Safe HaskellNone
LanguageHaskell2010

Weeder.Main

Description

This module provides an entry point to the Weeder executable.

Synopsis

Documentation

main :: IO () Source #

Parse command line arguments and into a Config and run mainWithConfig.

mainWithConfig :: [FilePath] -> Config -> IO () Source #

Run Weeder in the current working directory with a given Config.

This will recursively find all .hie files in the current directory, perform analysis, and report all unused definitions according to the Config.