<div class="gmail_quote">On Wed, Nov 11, 2009 at 16:48, dsimcha <span dir="ltr">&lt;<a href="mailto:dsimcha@yahoo.com">dsimcha@yahoo.com</a>&gt;</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;">
&gt; *test it*<br><div class="im">
&gt; Hmm, I can get enumerate to work, but the Unpack part doesn&#39;t compile. It<br>
&gt; complains <a href="http://elem.at" target="_blank">elem.at</a>!(0) is not an lvalue.<br>
<br>
</div>Argh.  That&#39;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&#39;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&#39;ll block some compositions (chain(map() ...) . I&#39;m wrong? <br><br>Thanks again for your code, I&#39;ll test it and tell you how it went.<br>
<br>  Philippe<br><br>