[Haskell-cafe] Why is $ right associative instead of leftassociative?

Marcin 'Qrczak' Kowalczyk qrczak at knm.org.pl
Sun Feb 12 07:29:02 EST 2006


"Brian Hulley" <brianh at metamilk.com> writes:

> My final suggestion if anyone is interested is as follows:
>
> 1) Use ":" for types
> 2) Use "," instead of ";" in the block syntax so that all brace blocks
> can be replaced by layout if desired (including record blocks)
> 3) Use ";" for list cons. ";" is already used for forming lists in
> natural language, and has the added advantage that (on my keyboard at
> least) you don't even need to press the shift key! ;-)

My language uses \ for cons, and ? for lambda.

-- 
   __("<         Marcin Kowalczyk
   \__/       qrczak at knm.org.pl
    ^^     http://qrnik.knm.org.pl/~qrczak/


More information about the Haskell-Cafe mailing list