[Haskell-cafe] Dynamic Programming with Data.Vector
rl at cse.unsw.edu.au
Tue Sep 18 09:36:06 CEST 2012
Myles C. Maxfield wrote:
> Aha there it is! Thanks so much. I didn't see it because it's under the
> "Unfolding" section instead of the "Construction" section.
You're quite right, having a separate "Unfolding" section isn't the best
idea. I'll fix this.
> 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
>> > function, but instead of the generation function taking the
>> > 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
>> > 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).
More information about the Haskell-Cafe