list diff - part-cw/lambdanative GitHub Wiki
(list-diff lst)
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)