enqueue_front: Add an element to the front of a deque

Description Usage Arguments Value

View source: R/deques.R

Description

Add an element to the front of a deque

Usage

1
enqueue_front(x, elm)

Arguments

x

A deque

elm

An element

Value

an updated deque where the element has been added


mailund/ralgo documentation built on April 3, 2018, 9:29 p.m.