Daniel-Diaz / HaTeX

The Haskell LaTeX library.
BSD 3-Clause "New" or "Revised" License
199 stars 46 forks source link

Hlint improvements #133

Closed KommuSoft closed 4 years ago

KommuSoft commented 4 years ago

After running hlint some suggestions showed up. The following suggestions have been ignored:

Examples/multirow.hs:28:5: Suggestion: Reduce duplication
Found:
  mempty & "Column g2b" <> lnbk
  mempty & "Column g2c" <> lnbk
  mempty & "Column g2d" <> lnbk
  hline

Why not:
  Combine with Examples/multirow.hs:45:5

Text/LaTeX/Base/Class.hs:56:26: Suggestion: Use const
Found:
  \ _ -> l
Why not:
  const l

Text/LaTeX/Base/Commands.hs:1167:1: Suggestion: Use camelCase
Found:
  hatex_version = ...
Why not:
  hatexVersion = ...

3 hints

(the const was already merged into the master)