[Issue 10466] Optional "[]" syntax for std.range.iota too

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sat Aug 31 12:37:44 PDT 2013


http://d.puremagic.com/issues/show_bug.cgi?id=10466



--- Comment #8 from Joseph Rushton Wakeling <joseph.wakeling at webdrake.net> 2013-08-31 12:37:42 PDT ---
(In reply to comment #7)
> I understand the general meaning of your words, and I could agree, but at the
> moment there is no D code around shaped as "iota!"(]"(0.0, 1.0, 0.3)", so
> formally there is no breaking. A code breaking change is when code that used to
> work suddenly stops working or silently has a different semantics.

No, but there is D code shaped around iota(0.0, 1.0, 0.3) which is semantically
identical to iota!"[)"(0.0, 1.0, 0.3), which is part of the proposal.

So, if there is going to be any "choice of boundary conditions" generalization
of iota, it should work as a seamless generalization of all the behaviour it
currently supports -- which includes both integral and floating-point types.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------


More information about the Digitalmars-d-bugs mailing list