agda-unused-0.2.0: Check for unused code in an Agda project.
Safe HaskellNone
LanguageHaskell2010

Agda.Unused.Check

Description

Check an Agda project for unused code.

Synopsis

Documentation

checkUnused Source #

Arguments

:: UnusedOptions

Options to use.

-> FilePath

Absolute path of the file to check.

-> IO (Either Error UnusedItems) 

Check an Agda file and its dependencies for unused code, excluding public items that could be imported elsewhere.

checkUnusedGlobal Source #

Arguments

:: UnusedOptions

Options to use.

-> FilePath

Absolute path of the file to check.

-> IO (Either Error Unused) 

Check an Agda file and its dependencies for unused code, including public items in dependencies, as well as files.

The given file should consist only of import statements; it serves as a full description of the public interface of the project.

checkUnusedWith Source #

Arguments

:: Mode

The check mode to use.

-> UnusedOptions

Options to use.

-> FilePath

Absolute path of the file to check.

-> IO (Either Error UnusedItems) 

Check an Agda file and its dependencies for unused code, using the specified check mode.