Matt Fowles skribis 2005-11-23 11:55 (-0500):
> I think using C< ..5 > to mean (0, 1, 2, 3, 4) would be a more
> sensible option.  Makes sense to me at least.

.. as a unary is uncomfortable, because of the different whitespace
styles people use with this operator. I personally use both "0..15" 
and "0 .. 15". I have yet to discover the pattern in my decisions.

    foo .. bar  # foo(..bar)? foo..bar?

A similar thing occurs with unary single-dot, which is defined to be
able to have whitespace on its LHS.

    foo .bar    # foo.bar, not foo(.bar)

Of course, the same rule could be used for .., but then for consistency,
whitespace on its RHS would need to be disallowed.


Juerd
-- 
http://convolution.nl/maak_juerd_blij.html
http://convolution.nl/make_juerd_happy.html 
http://convolution.nl/gajigu_juerd_n.html

Reply via email to