[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Macros and expressivity
- From: Hisham <hisham.hm@...>
- Date: Tue, 15 Jan 2008 21:38:14 -0200
On Jan 15, 2008 10:25 AM, Philippe Lhoste <PhiLho@gmx.net> wrote:
> On 12/01/2008 00:08, Miles Bader wrote:
> > Incidentally, any syntactic reason not to allow other "parenthesis-less"
> > calls?
> >
> > E.g., you can use: fun 'blargh'
> > sometimes I'd kinda like to be able to use: fun 3
> > as well...
>
> Perhaps because fun 3+4 would look ambiguous and error prone? Somehow,
> the quotes *are* the delimiters of the function parameter, so they are
> no ambiguous.
Well, then what about this:
string.lower "HELLO".."WORLD"
:-)
(Note that I'm not advocating other parenthesis-less calls; I tend to
use parentheses even for string arguments, myself.)
-- Hisham