yuto-matsum/googlecodejam2016-hs

View on GitHub

Showing 2 of 2 total issues

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
Severity
Category
Status
Source
Language