This is the mail archive of the kawa@sourceware.org mailing list for the Kawa project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

alternative array syntax (was: features inconsistency)


Per Bothner <per@bothner.com> writes:

> I have been thinking about an alternative syntax.  I'm leaning towards
> using function-call syntax, but that is a rather radical change:
> 
> (define my-arr (<int[]> length: 10))
> (set! (my-arr 3) (my-arr 5))

I like it.  Extending expression evaluation to allow array values in the
first position seems like a natural extension to me.  In fact, I'd
rather see something more like that for fields/methods.  More on that in
another thread...

-- 

http://ourdoings.com/         Easily organize and disseminate news and
                              photos for your family or group.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]