[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: omit parenthesis for functions of zero
- From: Gavin Wraith <gavin@...>
- Date: Tue, 28 Feb 2006 10:33:05 GMT
arguments / customcontrol structures
Message-ID: <3d9a38004e.wra1th@wra1th.plus.com>
References: <loom.20060228T040028-568@post.gmane.org>
<3505586C-7CDB-4B72-AB2A-CA3961F6C31F@thecommune.org.uk>
<loom.20060228T104827-91@post.gmane.org>
In-Reply-To: <loom.20060228T104827-91@post.gmane.org>
X-Organization: Home
User-Agent: Messenger-Pro/1.00c (MsgServe/1.00a) (RISC-OS/5.11) POPstar/2.05
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
In message <loom.20060228T104827-91@post.gmane.org> you wrote:
> Lisa Parratt writes:
> I'm personally a fan of any syntax that makes abstraction easier to type.
>
> Lua: function () return foo + bar end
> Smalltalk: [ foo + bar ]
Permit me to puff RiscLua's brand of mild sugar, requiring
only a couple of extra lines in llex.c:
RiscLua: \ () => foo + bar end
--
Gavin Wraith (gavin@wra1th.plus.com)
Home page: http://www.wra1th.plus.com/