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

Re: make-queue, queue-front, queue-back, queue-invoke

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.



* It hit me weird that it has queue-invoke specifically; is it such
   a common operation to deserve a separate API?  It's one-liner anyway,
   and I do use queues for such purpose, it's just one of many ways
   to use the queue.

Maybe not.  What do other people think?

It seems weird to me as well though different reason. This might be
common use case however the procedures may require different numbers
of argument or even queue may contain something non procedure. This
could be only me but since there is no standard way to inspect the
arity of procedures, this looks a bit weird.


--
_/_/
Takashi Kato
E-mail: ktakashi@xxxxxxxxx