You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Required API: qiter, qinto corresponds to map on first level of queue. qwalk, qmap corresponds to map on the whole queue tree. qlist-1, qlist corresponds to old qlist and qlist-1 for all level.
Serapeum uses queues internally to implement higher-level sequence functions, so I need to keep them as simple and efficient as possible -- which is why they are structures and not CLOS classes, which they would have to be to support the sequence protocol. (Note also that Serapeum officially supports CCL, which doesn't implement the sequence protocol.)
But it would be nice to provide a more convenient way of iterating over queues.
During working with
queue
, I found it's unconvenient for there is no iteration interface for queue.In many times, I have to follow the flow:
Required API:
qiter
,qinto
corresponds to map on first level of queue.qwalk
,qmap
corresponds to map on the whole queue tree.qlist-1
,qlist
corresponds to old qlist and qlist-1 for all level.Or It's better to impl sequnce method for queue, for example http://research.gold.ac.uk/2344/1/sequences-20070301.pdf
The text was updated successfully, but these errors were encountered: