This page is part of the web mail archives of SRFI 117 from before July 7th, 2015. The new archives for SRFI 117 contain all messages, not just those from before July 7th, 2015.
On 11/01/2015 18:19, Arthur A. Gleckler wrote:
Yes, except that I was proposing that the /initial/ argument be a list-queue, not a list, to facilitate using list-queue-unfold to add to an existing queue.
Aha, I misunderstood the proposal.
I don't see why types are relevant here in particular. If the caller doesn't want different types, he shouldn't supply an initial list-queue that holds a different type. That's just a programming error, not an error in the API.
It's just my feeling that unfold related procedure should return a container only contains the values given mapper procedure returned. I agree with that it's not an error in the API. However it might be clear if users could write something like the following (again it's just my preference): (list-queue-add-back-all! (list-queue-unfold ...) initial) Cheers, -- _/_/ Takashi Kato E-mail: ktakashi@xxxxxxxxx