$ git clone https://github.com/ocharles/weeder.git
$ cd weeder
$ ghcup set 8.8.2
$ cabal install .
使い方
$ weeder --help
Find unused declarations in Haskell projects
Usage: weeder HIE [--keep-exports] [--root ARG] [--report-unit ARG]
Available options:
HIE A path to a .hie file, or a directory containing .hie
files
--keep-exports Add all exported symbols to the root set
--root ARG A symbol that should be added to the root set.
Symbols are of the form unit$Module.symbol
--report-unit ARG Report unused declarations in this unit. If ommitted,
all units will be reported. Can be supplied multiple
times.
-h,--help Show this help text