argon
argon copied to clipboard
Monitor cyclomatic complexity in Haskell programs
Hello, I cannot compile `argon` with `stack` nor `cabal` on a fresh installation of Ubuntu 20.20. Can you provide some hints as what to do? I am attaching the output...
Failed to install argon with `cabal install argon`. Error message: ``` Preprocessing library pipes-files-0.1.3... Pipes/Files.hs:8:14: Unsupported extension: TypeApplications cabal: Leaving directory '/tmp/cabal-tmp-20/pipes-files-0.1.3' Installed pipes-bytestring-2.1.6 cabal: Error: some packages failed to...
`DatatypeContexts` is deprecated anyway and the following file will yield an error, while it compiles perfectly with ghc-8.0.2: ```hs module Foo where data Show a => Foo a = Foo...
Search cabal file in the current directory and the parent ones. If more than one cabal files are found, then no one is chosen.
I have a project in which I specified a few commonly used ghc extensions inside the cabal file. It seems to me that argon does not pickup the extensions from...
- In addition to `defaultExtensions`, consider `otherExtensions` and `oldExtensions` from the library build info. - Does not consider executable extensions yet!
Currently missing from tests: - [x] Options `--cabal-file` and `--cabal-macros` and `-I --include-dir` - [x] Argon.Types (toJSON instances) - [ ] Argon.Results - [x] Argon.Formatters