ndmitchell/hlint

Support detecting redundant $ in context of BlockArguments

arybczak opened this issue · 2 comments

As in the title :)

Can you give an example to test on?

E.g. in

foo = bar $ do
   ...

or

foo = bar $ \case
  Blah -> ...

The $ is necessary without BlockArguments, but redundant when it's enabled. It would be nice if hlint could detect this.