
On 1/10/12 10:31 AM, Tyson Whitehead wrote:
On January 8, 2012 23:49:47 wren ng thornton wrote:
An alternative is to distinguish, say, (# x #) and its spaceful constructor (# #) from the spaceless (##); and analogously for the boxed tuples, though that introduces confusion about parentheses for boxing vs parentheses for grouping.
I think that sounds pretty good. Here is another that occured to me today
(#), (# a #), (# a, b #), (# a, b, c #) ...
If you replace the internal ',' with '#'
(#), (# a #), (# a # b #), (# a # b # c #), ...
you have number of elements = number of '#' - 1.
Yeah, I thought of suggesting (#) in lieu of (##). That might work better for parsing et alia since it removes the whitespace sensitivity of (##) vs (# #). -- Live well, ~wren