[Haskell-cafe] Re: A wish for relaxed layout syntax

Andrzej Jaworski himself at poczta.nom.pl
Thu Mar 29 08:15:30 EDT 2007


DavidA <polyomino at f2s.com> wrote:
> I suggest << in place of $. For example:
> h x = f << g << x

I would feel better with :  " |> "

Ideally, redesigning Haskell syntax for 21st century should take more scientific course.
But with know-how here still much lagging we can only tap on experience with symbol
manipulation in mathematics. For instance: construction of formulas should store some
dynamics supportive for the underlying thought process. So for example  "f a b" springs up
no association while "f(a, b)" kick-starts the right thought.

Cheers,
-Andrzej



More information about the Haskell-Cafe mailing list