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()

dirmeier/datastructures documentation built on Aug. 9, 2020, 2:55 a.m.