[Haskell-cafe] GHC Extension Proposal: ArgumentBlock
ekmett at gmail.com
Tue Sep 8 07:04:30 UTC 2015
I do have to admit that the syntax there feels lighter and less cluttered.
I could get used to it.
On Tue, Sep 8, 2015 at 12:56 AM, Andrew Gibiansky <
andrew.gibiansky at gmail.com> wrote:
> In order to get a feel for using this extension in real-world Haskell,
> take a look at the new ghc-reskin package:
> 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 <spam at scientician.net>
>> 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.
>> > entirely backwards compatible with working code when turned on, is it
>> 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.)
>> Haskell-Cafe mailing list
>> Haskell-Cafe at haskell.org
> Haskell-Cafe mailing list
> Haskell-Cafe at haskell.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Haskell-Cafe