[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: ideas for lambda syntax
- From: Luiz Henrique de Figueiredo <lhf@...>
- Date: Mon, 8 Apr 2013 23:12:10 -0300
> what would be the simplest syntax that would involve the least modification
>
> \(x,y) [x+a*y]
> @(x,y) (x+a*y)
> \\(x,y) x+a*y\\
> [(x,y) x+a*y]
All but the last one are easily handled by token filters, especially ones
written in C. For the syntax
\x,y (x+a*y)
see
http://lua-users.org/lists/lua-l/2010-11/msg00808.html
http://lua-users.org/lists/lua-l/2012-03/msg00309.html