[Issue 8882] map, filter, iota and zip in pure (and nothrow) functions
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Thu Jan 16 13:53:58 PST 2014
https://d.puremagic.com/issues/show_bug.cgi?id=8882
--- Comment #6 from monarchdodra at gmail.com 2014-01-16 13:53:55 PST ---
(In reply to comment #5)
> (In reply to comment #4)
>
> > Bah, I think illegal input should Error. Problem solved.
>
> Changing an exception -> error changes the API of iota()
Yes, but I think it's a valid change.
> , but in this case I
> think there's no need to change the API. "iota(1.0, 2.0);" can be nothrow with
> small changes in the Phobos code, keeping the same API.
But that's a special case. What about "iota(1.0, 2.0, 0.1)" ?
--
Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
More information about the Digitalmars-d-bugs
mailing list