Aha there it is! Thanks so much. I didn&#39;t see it because it&#39;s under the &quot;Unfolding&quot; section instead of the &quot;Construction&quot; section.<div><br></div><div>--Myles<br><br><div class="gmail_quote">On Mon, Sep 17, 2012 at 6:07 AM, Roman Leshchinskiy <span dir="ltr">&lt;<a href="mailto:rl@cse.unsw.edu.au" target="_blank">rl@cse.unsw.edu.au</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">Myles C. Maxfield wrote:<br>
&gt;<br>
&gt; Overall, I&#39;m looking for a function, similar to Data.Vector&#39;s &#39;generate&#39;<br>
&gt; function, but instead of the generation function taking the destination<br>
&gt; index, I&#39;d like it to take the elements that have previously been<br>
&gt; constructed. Is there such a function? If there isn&#39;t one, is this kind of<br>
&gt; function feasible to write? If such a function doesn&#39;t exist and is<br>
&gt; feasible to write, I&#39;d be happy to try to write and contribute it.<br>
<br>
</div>Indeed there is, it&#39;s called constructN (or constructrN if you want to<br>
construct it right to left).<br>
<span class="HOEnZb"><font color="#888888"><br>
Roman<br>
<br>
<br>
<br>
</font></span></blockquote></div><br></div>