Re: [q-lang-users] A proposal to adopt Python tuple syntax
Brought to you by:
agraef
From: Albert G. <Dr....@t-...> - 2005-06-24 11:30:56
|
Tim Haynes wrote: >>Concerning the curly braces, it might be a good idea to keep {...} for >>possible future extensions (Haskell-style records come to my mind). > > You read my mind ... or at least the other mail I just fired-off, partly > inspired by this idea. No, I read your mind. Really. You know, I do that regularly. ;-) > Would the change *require* trailling comma, or just permit it on the > grounds of forcing something to be a tuple? No, the trailing comma would be entirely optional, except in that one ugly special case of the 1-tuple, where it would distinguish (X,) (a tuple) from (X) (a parenthesized expression). Albert -- Dr. Albert Gr"af Dept. of Music-Informatics, University of Mainz, Germany Email: Dr....@t-..., ag...@mu... WWW: http://www.musikwissenschaft.uni-mainz.de/~ag |