I'm using flycheck and haskell-hlint in emacs when I write Haskell codes and I think it will be great if I can apply those hlint suggestions by invoking some emacs procedures instead of modifying the code manually.
If there isn't one available and in case I have to write this procedure for myself:
Is it guaranteed that hlint output is always of the following form:
Found:
{Text1}
Why not:
{Text2}
where {Text?}
can always be parsed as a Haskell abstract syntax tree?
Text2
isn't necessarily Haskell syntax. One example is the "Reduce duplication" warning, which saysWhy not: Combine with Foo/Bar/Baz.hs:123:4
– Prostyle