Initial value for unfold(-right) John Cowan (10 Jan 2015 23:49 UTC)
|
Re: Initial value for unfold(-right)
Takashi Kato
(11 Jan 2015 11:39 UTC)
|
Re: Initial value for unfold(-right)
Arthur A. Gleckler
(11 Jan 2015 17:19 UTC)
|
Re: Initial value for unfold(-right)
Takashi Kato
(11 Jan 2015 18:44 UTC)
|
Re: Initial value for unfold(-right)
Arthur A. Gleckler
(11 Jan 2015 21:15 UTC)
|
Re: Initial value for unfold(-right)
Takashi Kato
(12 Jan 2015 06:14 UTC)
|
Re: Initial value for unfold(-right)
Arthur A. Gleckler
(12 Jan 2015 06:16 UTC)
|
Re: Initial value for unfold(-right)
John Cowan
(12 Jan 2015 13:27 UTC)
|
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