├── .ghci ├── .gitignore ├── .travis.yml ├── LICENSE ├── README.md ├── Setup.hs ├── dead-code-detection.cabal ├── driver └── Main.hs ├── package.yaml ├── src ├── Ast.hs ├── Ast │ └── UsedNames.hs ├── Files.hs ├── GHC │ └── Show.hs ├── Graph.hs ├── Run.hs └── Utils.hs ├── stack.yaml └── test ├── Ast └── UsedNamesSpec.hs ├── AstSpec.hs ├── FilesSpec.hs ├── GraphSpec.hs ├── Helper.hs ├── Main.hs ├── RunSpec.hs └── Spec.hs /.ghci: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/soenkehahn/dead-code-detection/HEAD/.ghci -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | .stack-work 2 | -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/soenkehahn/dead-code-detection/HEAD/.travis.yml -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/soenkehahn/dead-code-detection/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/soenkehahn/dead-code-detection/HEAD/README.md -------------------------------------------------------------------------------- /Setup.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/soenkehahn/dead-code-detection/HEAD/Setup.hs -------------------------------------------------------------------------------- /dead-code-detection.cabal: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/soenkehahn/dead-code-detection/HEAD/dead-code-detection.cabal -------------------------------------------------------------------------------- /driver/Main.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/soenkehahn/dead-code-detection/HEAD/driver/Main.hs -------------------------------------------------------------------------------- /package.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/soenkehahn/dead-code-detection/HEAD/package.yaml -------------------------------------------------------------------------------- /src/Ast.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/soenkehahn/dead-code-detection/HEAD/src/Ast.hs -------------------------------------------------------------------------------- /src/Ast/UsedNames.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/soenkehahn/dead-code-detection/HEAD/src/Ast/UsedNames.hs -------------------------------------------------------------------------------- /src/Files.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/soenkehahn/dead-code-detection/HEAD/src/Files.hs -------------------------------------------------------------------------------- /src/GHC/Show.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/soenkehahn/dead-code-detection/HEAD/src/GHC/Show.hs -------------------------------------------------------------------------------- /src/Graph.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/soenkehahn/dead-code-detection/HEAD/src/Graph.hs -------------------------------------------------------------------------------- /src/Run.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/soenkehahn/dead-code-detection/HEAD/src/Run.hs -------------------------------------------------------------------------------- /src/Utils.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/soenkehahn/dead-code-detection/HEAD/src/Utils.hs -------------------------------------------------------------------------------- /stack.yaml: -------------------------------------------------------------------------------- 1 | flags: {} 2 | packages: 3 | - '.' 4 | extra-deps: [] 5 | resolver: lts-5.8 6 | -------------------------------------------------------------------------------- /test/Ast/UsedNamesSpec.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/soenkehahn/dead-code-detection/HEAD/test/Ast/UsedNamesSpec.hs -------------------------------------------------------------------------------- /test/AstSpec.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/soenkehahn/dead-code-detection/HEAD/test/AstSpec.hs -------------------------------------------------------------------------------- /test/FilesSpec.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/soenkehahn/dead-code-detection/HEAD/test/FilesSpec.hs -------------------------------------------------------------------------------- /test/GraphSpec.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/soenkehahn/dead-code-detection/HEAD/test/GraphSpec.hs -------------------------------------------------------------------------------- /test/Helper.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/soenkehahn/dead-code-detection/HEAD/test/Helper.hs -------------------------------------------------------------------------------- /test/Main.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/soenkehahn/dead-code-detection/HEAD/test/Main.hs -------------------------------------------------------------------------------- /test/RunSpec.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/soenkehahn/dead-code-detection/HEAD/test/RunSpec.hs -------------------------------------------------------------------------------- /test/Spec.hs: -------------------------------------------------------------------------------- 1 | {-# OPTIONS_GHC -F -pgmF hspec-discover -optF --module-name=Spec #-} 2 | --------------------------------------------------------------------------------