Appending Queues

2012-10-28 Thread Noah Lavine
Hello, I was just working on a project that used (ice-9 q), and I found that I needed to append two queues. I wrote the following functions to do it. What do you think of including them in (ice-9 q)? It's pretty simple, but it seems like a natural part of the queue interface. I've included destruc

Re: Appending Queues

2012-11-02 Thread Ian Price
Noah Lavine writes: > The only change I was considering is allowing an arbitrary number of > arguments, but that's something I can implement if people agree that > we want the functions in (ice-9 q). I'm loath to add anything to (ice-9 q) since I find the names, and the lack of a distinct type,

Re: Appending Queues

2012-11-02 Thread Noah Lavine
Hello, On Fri, Nov 2, 2012 at 1:20 PM, Ian Price wrote: > > I'm loath to add anything to (ice-9 q) since I find the names, and > the lack of a distinct type, less than satisfactory. > Fair enough. I'd be just as happy to implement a new queue container. I think we need to keep (ice-9 q) around f

Re: Appending Queues

2012-11-02 Thread Ludovic Courtès
Hi, Ian Price skribis: > Noah Lavine writes: > >> The only change I was considering is allowing an arbitrary number of >> arguments, but that's something I can implement if people agree that >> we want the functions in (ice-9 q). > > I'm loath to add anything to (ice-9 q) since I find the names