Re: [q-lang-users] A proposal to adopt Python tuple syntax
Brought to you by:
agraef
From: Tim H. <q...@st...> - 2005-06-24 11:57:28
|
Albert Graef <Dr....@t-...> writes: > 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). Cool. I can cope with that, for sure. ~Tim -- <http://spodzone.org.uk/> |