Skip to content
Chris Petersen edited this page Oct 16, 2014 · 1 revision

offset adds an offset to each element in a list.

Parameter Description
lst The list to be offset
k The offset factor

Example

Example 1: Offset a list by 10

> (offset '(1 2 3 4 5) 10)
(11 12 13 14 15)
Clone this wiki locally