Deque.clone

From OpenEUO
Jump to: navigation, search

Calling Pattern

Call

local d = sl.deque()
-- later
local r = d.clone()

Results

r is a deque closure

Description

Calling clone returns a copy deque with the same values as the current one.

Upon Error

Errors are reported and handled according to the operant error redirection mode.

See Also