Function type -postfix

Peter Levart peter.levart at marand.si
Tue Feb 9 00:14:35 PST 2010


On Tuesday 09 February 2010 08:29:49 Stefan Schulz wrote:
> 
> ##int(int)(int) or #int(#int(int))
> [[int(int)](int)] or [int([int(int)])]

I have one objection to this syntax - it's too noisy on parens/brackets. The above example shows that even prefix notation is easier on the eye than your proposed bracketed syntax. It's nice if a pair of brackets or parens enclose the whole construct, but then it should not require a second pair of parens/brackets inside.

Regards, Peter


More information about the lambda-dev mailing list