[Issue 8555] New: Round Robin and Infinite Ranges

d-bugmail at puremagic.com d-bugmail at puremagic.com
Wed Aug 15 14:58:30 PDT 2012


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

           Summary: Round Robin and Infinite Ranges
           Product: D
           Version: unspecified
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Phobos
        AssignedTo: nobody at puremagic.com
        ReportedBy: daniel350 at bigpond.com


--- Comment #0 from Daniel Cousens <daniel350 at bigpond.com> 2012-08-15 14:58:29 PDT ---
http://dlang.org/phobos/std_range.html#roundRobin

As would be expected, RoundRobin goes into an infinite loop if the range is
infinite; perhaps !isInfinite!R would be suitable to test against the input
ranges?
This may benefit other exhausting range functions also.

-- 
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