stack: Create a new 'stack'

Description Usage Arguments Value Examples

View source: R/ds_deque_stack.R

Description

Instantiates a new stack object, i.e. a list implementation with LIFO principle.

Usage

1

Arguments

...

parameters that are only needed if utils::stack should be called

Value

returns a new stack object

Examples

1
2
 # creates a new stack<SEXP>
 s <- stack()

datastructures documentation built on Aug. 10, 2020, 5:08 p.m.