Email list hosting service & mailing list manager

notes Pierpaolo Bernardi (04 Dec 2014 03:08 UTC)
Re: notes John Cowan (04 Dec 2014 05:32 UTC)
Re: notes Arthur A. Gleckler (04 Dec 2014 05:44 UTC)
Re: notes Pierpaolo Bernardi (04 Dec 2014 05:58 UTC)

Re: notes John Cowan 04 Dec 2014 05:32 UTC

Pierpaolo Bernardi scripsit:

> - What is a use case for make-queue?  Especially with unspecified
> fill argument?

Creating a queue of given length whose elements are irrelevant, is what
comes to mind.

> - In several places is specified that a function is O(n), but there's
> no n in sight. While the intention is obvious, this should be made
> explicit.


> - make-queue-with-first-last: the arguments are named front and back,
> in contrast with the function name and the rest of the description.


> - queue-front and queue-back: the argument "element" is a mistake?

Yes.  Fixed.

> - queue-append: why not provide a function for appending queues
> destructively, which can be implemented in O(number of queues)?

That's an interesting idea; I'll think about it.

All above changes pushed to the staging area.

John Cowan
SAXParserFactory [is] a hideous, evil monstrosity of a class that should
be hung, shot, beheaded, drawn and quartered, burned at the stake,
buried in unconsecrated ground, dug up, cremated, and the ashes tossed
in the Tiber while the complete cast of Wicked sings "Ding dong, the
witch is dead."  --Elliotte Rusty Harold on xml-dev