Files
roux/.hlint.yaml
jbrechtel 95a7521584 Fix all hlint warnings
- Html.hs: replace lambdas with section/composition where possible
- Html.hs: replace case/fromMaybe with fromMaybe
- Html.hs: add fromMaybe to imports, use unqualified
- Parser.hs: replace span with break (2 locations)
- Parser.hs: replace if/then/else with list comprehension
- Parser.hs: remove redundant catch-all patterns (break is exhaustive)
- Server.hs: eta reduce htmlResponse
- Add .hlint.yaml to suppress 'Avoid lambda' (suggested fix has
  precedence issues with blaze-html's infix (!) operator)
- All 26 tests passing, hlint: No hints, exit code 0
2026-05-19 07:25:59 -04:00

6 lines
214 B
YAML

# HLint configuration for roux-server.
# Suppress noise that can't be cleanly fixed (e.g. blaze-html lambda patterns
# where the suggested eta-reduced form has precedence issues).
- ignore: {name: "Avoid lambda"}