pbrisbin/codeclimate-hlint

View on GitHub
src/CC/Config.hs

Summary

Maintainability
Test Coverage

Use newtype instead of data
Open

data Config = Config { configIncludes :: [FilePath] }
Severity: Minor
Found in src/CC/Config.hs by hlint

Found

data Config = Config {configIncludes :: [FilePath]}

Perhaps

newtype Config = Config {configIncludes :: [FilePath]}

Applying this change:

  • decreases laziness

There are no issues that match your filters.

Category
Status