yuto-matsum/googlecodejam2016-hs

View on GitHub
src/q1a/B.hs

Summary

Maintainability
Test Coverage

Use tuple-section
Open

count = shrink . map (\x -> (x, 1)) . sort where
Severity: Minor
Found in src/q1a/B.hs by hlint

Found

\ x -> (x, 1)

Perhaps

(, 1)

Applying this change:

  • may require {-# LANGUAGE TupleSections #-} adding to the top of the file

Use tuple-section
Open

count = shrink . map (\x -> (x, 1)) . sort where
Severity: Minor
Found in src/q1a/B.hs by hlint

Found

\ x -> (x, 1)

Perhaps

(, 1)

Applying this change:

  • may require {-# LANGUAGE TupleSections #-} adding to the top of the file

There are no issues that match your filters.

Category
Status