fixes & updates

added uniq function
task.json
doc updates
This commit is contained in:
2021-03-06 19:05:37 +01:00
parent 903c8fd49d
commit eed18e0f90
7 changed files with 66 additions and 41 deletions

View File

@@ -40,7 +40,8 @@
|`(first list)`|Returns first element of a list|First element|
|`(last list)`|Returns last element of list|Last element|
|`(range low high)`|Returns list with elements in range low .. high|`(range 1 5) => (1 2 3 4)`|
|`(member list item)`|||
|`(member list item)`|Returns true (1) when list contains item||
|`(uniq list)`|Returns list with removed duplicates ||
|`(make-list len)`|Return list with len nil elements|`(make-list 3) => (nil nil nil)`|
|`(make-list-of len value)`|||
|`(map ..)`||`(map (lambda (x) (+ x 10)) '(1 2 3 4 5 6)) => (11 12 13 14 15 16)`|