On Thu, Dec 22, 2011 at 16:45, clk <c...@clksoft.com> wrote: > Philippe, > I don't understand the example below to simulate the list comprehension > syntax. Are input1, input2 and input3 ranges?
Yes, inputs are ranges. Sorry, I was perhaps a bit hasty in answering. The code is on github: https://github.com/PhilippeSigaud/dranges comp() is defined into the algorithm.d module. Github does not host the docs, but I generated them on dsource a long time ago: http://svn.dsource.org/projects/dranges/trunk/dranges/docs/algorithm.html (search for comp, there is no anchor. I think there wasn't a way to make them easily on DDoc a year ago)