Initial value for unfold(-right)
John Cowan 10 Jan 2015 23:49 UTC
I got a private mail suggesting that list-queue-unfold(-right) should
have an optional argument for a tail list-queue onto which the
generated elements are prepended. I thought about this earlier, but
couldn't decide if it should be an initial queue (which would have to
be copied for safety) or an initial list (where it's an error if you
mutate the list later), so I left it out.
Thoughts, anybody?
--
John Cowan http://www.ccil.org/~cowan xxxxxx@ccil.org
"You need a change: try Canada" "You need a change: try China"
--fortune cookies opened by a couple that I know