[Swift-devel] file declaration inside foreach
Ben Clifford
benc at hawaga.org.uk
Wed Apr 25 01:34:46 CDT 2007
On Tue, 24 Apr 2007, Mihael Hategan wrote:
> I would though like to see for i in 1..2 working though.
that should be relatively straight-forward syntactic sugar, but I don't
particularly like introducing it as a special case for foreach - it should
be a synonym everywhere for [1:2:1] if introduced. But bleugh, [1:2] is
only one character more than 1..2
--
More information about the Swift-devel
mailing list