If you made tooling aware of ($) would you need to check that it is importing the Prelude version and not another one? Not that I'm suggesting that having a different implementation would be sensible.
This seems rather good to me. It seems sensible and I don't really see the ambiguity.
On Sun, Sep 06, 2015 at 06:03:00PM +0000, Oliver Charles wrote:
> I mean that people us $ for purely syntactical purposes. If an editor is
> going to make refactorings and retain a certain sense of style, then the
> tool needs to know that $ is sometimes to be used. The refactoring (or
> otherwise) tool now has to be aware of the syntax of Haskell and special
> symbols in the Prelude.
It seems unlikely that making the tool aware of ($) is much more (or less)
difficult than making it aware of when it can omit brackets from a multiline
do, lambda etc.
_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe