makeequal.rpqueue {rstackdeque} | R Documentation |
Maintenance function for rpqueues, called automatically when needed by other functions.
## S3 method for class 'rpqueue'
makeequal(rpqueue, ...)
rpqueue |
rpqueue to makeequal. |
... |
additional arguments to be passed to or from methods (ignored). |
See Simple and Efficient Purely Functional Queues and Deques, Okasaki 1995, J. Functional Programming, 5(4) 583 to 592 for information.
a "fixed" rpqueue.
Okasaki, Chris. Purely Functional Data Structures. Cambridge University Press, 1999.
rotate
helper function that calls this one.