Skip to content
Chris Petersen edited this page Oct 16, 2014 · 2 revisions

list-diff returns a list of differences of list elements

Parameter Description
lst List to operate on

Example

Example 1: Calculate the differences of a list

> (list-diff (list 1 2 4 8 10 11))
(1 2 4 2 1)
Clone this wiki locally