makeequal.rpqueue: Maintenance function for rpqueues

Description Usage Arguments Details Value References See Also

View source: R/makeequal.rpqueue.R

Description

Maintenance function for rpqueues, called automatically when needed by other functions.

Usage

1
2
## S3 method for class 'rpqueue'
makeequal(rpqueue, ...)

Arguments

rpqueue

rpqueue to makeequal.

...

additional arguments to be passed to or from methods (ignored).

Details

See Simple and Efficient Purely Functional Queues and Deques, Okasaki 1995, J. Functional Programming, 5(4) 583 to 592 for information.

Value

a "fixed" rpqueue.

References

Okasaki, Chris. Purely Functional Data Structures. Cambridge University Press, 1999.

See Also

rotate helper function that calls this one.


rstackdeque documentation built on May 2, 2019, 4:15 a.m.