
2 Oct
2008
2 Oct
'08
5:50 a.m.
2008/10/2 Jon Fairbairn
Benjamin L.Russell
writes: Note: the singleton tuple does not support tuple syntax.
What is the syntax for the singleton tuple? [...] the singleton syntax will be different from the non-singleton syntax, which is also syntactically inelegant.
What is your solution?
Replace () in tuple syntax with ⟨⟩ (unicode 0x27e8 and 0x27e0).
I thought to this idea in another way : parenthesis could be used for s-expressions and ⟨⟩ (unicode 0x27e8 and 0x27e0) could be used for regular grouping. This would allow to switch in the same code between infix and s-expr (e.g. enabling SXML)... Cheers, Thu