Why I Use D
Scott S. McCoy
tag at cpan.org
Sun Mar 30 11:43:44 PDT 2008
On Sun, 2008-03-30 at 07:48 -0400, bearophile wrote:
>
> That's equal to Python, where you can write: array[5:] array[:5]
> Something very close is possible in Haskell too.
>
Right, I just think it's nicer than array[5..length] :-)
array[5..] and array[..5] seem to make perfect sense to me and get rid
of kludge like $.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puremagic.com/pipermail/digitalmars-d/attachments/20080330/ed4ca061/attachment.html>
More information about the Digitalmars-d
mailing list