
In order to get a feel for using this extension in real-world Haskell,
take a look at the new ghc-reskin package:
https://github.com/gibiansky/ghc-reskin
This allows you to use ArgumentBlock *today* by passing GHC a few
parameters to tell it to use ghc-reskin as a preprocessor. Take a look at
the README for a full example.
-- Andrew
On Mon, Sep 7, 2015 at 9:02 PM, Bardur Arantsson
On 09/08/2015 03:08 AM, Dan Burton wrote:
+1 people who like it can use it and people who don't like it don't have to use it. Personally I wish it were the default because the superfluous $ confuses a lot of people coming from other languages like Ruby.
Whether it's "superfluous" depends entirely on one's PoV.
You can even write in the old style if you have the extension turned on. It doesn't disable the old way of doing things. It just allows a new way. It's entirely backwards compatible with working code when turned on, is it not?
Except now there are two "dialects" everybody has to read/understand. That's not progress IMO. (Considering that it's so little gain. I really don't understand the hatred of $ that some people seem to have.)
Regards,
_______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe