5.9.1 Mru-stack
The buffers are kept in a most recently used stack that has the
following operators: add!, remove!, contains?, recall!, and list.
- Class: <mru-stack>
- Scheme Procedure: mru-add! (s <mru-stack>) x
- Scheme Procedure: mru-remove! (s <mru-stack>) x
- Scheme Procedure: mru-recall! (s <mru-stack>) x
- Scheme Procedure: mru-set! (s <mru-stack>) x
- Scheme Procedure: mru-ref (s <mru-stack>)
- Scheme Procedure: mru-list (s <mru-stack>)
- Scheme Procedure: mru-empty? (s <mru-stack>)
- Scheme Procedure: mru-contains? (s <mru-stack>) x
- Scheme Procedure: mru-next! (s <mru-stack>) count
The order of the elements may not change yet the index may be moved
around.
- Scheme Procedure: mru-prev! (s <mru-stack>) count
- Scheme Procedure: mru-prev! (s <mru-stack>)
- Scheme Procedure: mru-next! (s <mru-stack>)