Skip to content

Remove HLint ANN pragmas#118

Merged
athas merged 1 commit into
haskell:masterfrom
georgefst:no-ignore-hlint
May 14, 2026
Merged

Remove HLint ANN pragmas#118
athas merged 1 commit into
haskell:masterfrom
georgefst:no-ignore-hlint

Conversation

@georgefst
Copy link
Copy Markdown
Contributor

I considered instead replacing these with the modern style recommended by HLint, which is just a plain comment. But actually, there are various other HLint hints triggered in this project which aren't ignored at all. And one of the hints being ignored doesn't trigger anyway.

As for why this matters, ANN pragmas require Template Haskell. And there are many reasons one may wish to avoid TH when it's possible to do so, e.g. for simpler cross compilation.

@athas athas merged commit 33292e4 into haskell:master May 14, 2026
13 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants