<div class="gmail_quote">On Wed, Nov 11, 2009 at 16:48, dsimcha <span dir="ltr"><<a href="mailto:dsimcha@yahoo.com">dsimcha@yahoo.com</a>></span> wrote:<br><div> </div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
> *test it*<br><div class="im">
> Hmm, I can get enumerate to work, but the Unpack part doesn't compile. It<br>
> complains <a href="http://elem.at" target="_blank">elem.at</a>!(0) is not an lvalue.<br>
<br>
</div>Argh. That's because I was hacking around with Zip in my copy of Phobos right<br>
before I wrote this lib and forgot to change some stuff back to stock when<br>
testing. </blockquote><div><br>How do you deal with successive version of DMD? Do you have parallel installations? I know I hacked around Zip, Chain and such a few times, forgot about it, only to have it crushed by my next download :-(<br>
</div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"> If you uncomment a /*ref*/ in there somewhere, which was leftover from a<br>
compiler bug a long time ago, it seems to work. The real problem is that that bit<br>
of cruft hasn't been removed from Phobos yet.<br>
</blockquote></div><br>OK, thanks.<br>I get the impression that ref is viral... Either you have it everywhere or it'll block some compositions (chain(map() ...) . I'm wrong? <br><br>Thanks again for your code, I'll test it and tell you how it went.<br>
<br> Philippe<br><br>