[Haskell-cafe] Language complexity & beginners (Was: New type of ($) operator in GHC 8.0 is problematic)

Michael Orlitzky michael at orlitzky.com
Mon Feb 8 16:56:53 UTC 2016

On 02/08/2016 11:45 AM, Joachim Durchholz wrote:
> Am 08.02.2016 um 17:32 schrieb Michael Orlitzky:
>> The suggestion in the PDF is basically to drop the "f x" syntax and
>> always use "f $ x" which has a lot of merit if you rename "$" to
>> something less ugly and more obvious.
> I'm wondering what the merit would be.

By making "f $ x" or more generally "f $" syntax, we avoid the very
issue that sparked this thread (that's what wren suggested...). We also
no longer need the voodoo hacks for things like runST. It's less
confusing for the parser and for students (explicit is better than
implicit), etc.

More information about the Haskell-Cafe mailing list