guile-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Appending Queues


From: Noah Lavine
Subject: Re: Appending Queues
Date: Fri, 2 Nov 2012 14:00:52 -0400

Hello,

On Fri, Nov 2, 2012 at 1:20 PM, Ian Price <address@hidden> 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 for compatibility, though, so I'm tempted to say we should go ahead and make it as good as it can be.
 
However, if you are going to add them, I'd recommend sticking with the
q- prefix. So, q-append and q-append!. Keeping the naming consistent
means one less exception to remember.

Also, I think it might be wise to add a list->q and q->list, with the
obvious simple implementations

You're right. :-)
 
Noah


reply via email to

[Prev in Thread] Current Thread [Next in Thread]