[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Arguments before or after command?
From: |
Ludovic Courtès |
Subject: |
Re: Arguments before or after command? |
Date: |
Mon, 03 Sep 2012 00:17:36 +0200 |
User-agent: |
Gnus/5.130005 (Ma Gnus v0.5) Emacs/24.2 (gnu/linux) |
Hi Cédric, and welcome!
Cedric Sodhi <address@hidden> skribis:
> What doesn't quite seem to fit in with Lout being a clean, consistent
> language is how arguments are passed to @Commands . By which logic do
> commands take arguments { Before } @TheCommand or @TheCommand { And then
> the Argument } or even
>
> @TheCommand { And then } { multiple } { Arguments } ?
Actually, functions can take left, right, body, or named arguments (so
the above example is wrong: there can’t be more than one argument on the
right.)
Chapter 2 of the Expert’s Guide explains all this in detail.
Hope this helps,
Ludo’.