array literals

Started by ssqq, July 13, 2014, 11:15:42 AM

Previous topic - Next topic

ssqq

I think newLISP should add syntax of "array literals", but [..] have been used by symbol.



without "array literals", a list with elements need evaluted is as following:


 (set 'str-quote (char 34))
(set lst (list str-quote (list str-quote)))


If add [..] as array literal:


(set 'arr [str-quote [str-quote]])

It is more concisely.