[Haskell-cafe] Dynamic Programming with Data.Vector
Myles C. Maxfield
myles.maxfield at gmail.com
Mon Sep 17 18:42:55 CEST 2012
Aha there it is! Thanks so much. I didn't see it because it's under the
"Unfolding" section instead of the "Construction" section.
On Mon, Sep 17, 2012 at 6:07 AM, Roman Leshchinskiy <rl at cse.unsw.edu.au>wrote:
> Myles C. Maxfield wrote:
> > Overall, I'm looking for a function, similar to Data.Vector's 'generate'
> > function, but instead of the generation function taking the destination
> > index, I'd like it to take the elements that have previously been
> > constructed. Is there such a function? If there isn't one, is this kind
> > function feasible to write? If such a function doesn't exist and is
> > feasible to write, I'd be happy to try to write and contribute it.
> Indeed there is, it's called constructN (or constructrN if you want to
> construct it right to left).
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Haskell-Cafe