February 13, 2013 More fun with std.range.transposed | ||||
---|---|---|---|---|
| ||||
http://d.puremagic.com/issues/show_bug.cgi?id=9507 Thoughts? T -- The only difference between male factor and malefactor is just a little emptiness inside. |
February 13, 2013 Re: More fun with std.range.transposed | ||||
---|---|---|---|---|
| ||||
Posted in reply to H. S. Teoh | On Wednesday, 13 February 2013 at 21:34:27 UTC, H. S. Teoh wrote:
> http://d.puremagic.com/issues/show_bug.cgi?id=9507
>
> Thoughts?
>
>
> T
Just a quick question: Isn't "Transverse" conceptually the same as a "range of FrontTraversal" ?
I'd say you have two options:
1) Simply statically enforce "EnforceNotJagged": This would make more sense (IMO) given the definition of "Transverse". You could enforce it via asserts.
2) Just like FrontTraversal, allow an option parameter.
|
Copyright © 1999-2021 by the D Language Foundation