Re: Clojure list syntax sugar: f(x) notation

2011-12-29 Thread Louis Yu Lu
, 7:03 am, James Reeves wrote: > On 29 December 2011 04:49, Louis Yu Lu wrote: > > > Instead of using overloaded (), may be f[x] will cause less trouble, > > and more inline with clojure's syntax as [ ] already being used for > > defining the arguments of the function

Re: Clojure list syntax sugar: f(x) notation

2011-12-28 Thread Louis Yu Lu
Instead of using overloaded (), may be f[x] will cause less trouble, and more inline with clojure's syntax as [ ] already being used for defining the arguments of the function. Louis On Dec 27, 5:26 pm, Gert Verhoog wrote: > On 26/12/2011, at 6:23 PM, Louis Yu Lu wrote: > > >

Re: Clojure list syntax sugar: f(x) notation

2011-12-27 Thread Louis Yu Lu
The modified reader will report no more, no less parsing error than the current Clojure reader. On Dec 27, 4:40 pm, Softaddicts wrote: > Using the absence/presence of a space to influence parsing bugs me a lot... > > No idea about using an explicit delimiter ? > My main concern is how can the rea

Re: Clojure list syntax sugar: f(x) notation

2011-12-27 Thread Louis Yu Lu
t; On Mon, Dec 26, 2011 at 1:09 PM, Louis Yu Lu wrote: > > > > > > > > > Recently, I found freedom of coding playing with Clojure with over 20 > > years’ experience on other program languages, Previously, I had > > several trials of learning Lisp, but never got tr

Re: Clojure list syntax sugar: f(x) notation

2011-12-27 Thread Louis Yu Lu
e list of > > > arguments ? > > > > If you cannot deal with this and have to force (mymac (+ 1 2 3)) when a > > > macro is involved then what's the use > > > of this new syntax ? > > > > What about embedded calls involving a mix of

Re: Clojure list syntax sugar: f(x) notation

2011-12-27 Thread Louis Yu Lu
ape according to > what is being called. > > You missed the point that I made about the fact that code is data and can be > modified accordingly either through macros > or runtime evaluations. > > Luc > > On Wed, 28 Dec 2011 01:59:12 +0800 > > Ambrose Bonnaire

Re: Clojure list syntax sugar: f(x) notation

2011-12-27 Thread Louis Yu Lu
The proposed syntax sugar does not break the existing code, it make it easier to read and more fun for programmer from other language on the ramping up stage. Even with mixed notation, I don’t see issue of usability; the modified reader will handle it. I sense the objection is that the f(x) notatio

Clojure list syntax sugar: f(x) notation

2011-12-26 Thread Louis Yu Lu
Recently, I found freedom of coding playing with Clojure with over 20 years’ experience on other program languages, Previously, I had several trials of learning Lisp, but never got traction. However there are two syntax notations always bother me, it feels unnatural with my experience on other pro

Clojure list syntax sugar: f(x) notation

2011-12-26 Thread Louis Yu Lu
Recently, I found freedom of coding playing with Clojure with over 20 years’ experience on other program languages, Previously, I had several trials of learning Lisp, but never got traction. However there are two syntax notations always bother me, it feels unnatural with my experience on other pro