Skip to content

Latest commit

 

History

History
49 lines (24 loc) · 654 Bytes

ListSurgeryCowan.md

File metadata and controls

49 lines (24 loc) · 654 Bytes

(take!! list i)

(drop-right!! list i)

(split-at!! list i)

(append!! list ...)

(concatenate!! list-of-lists)

(reverse!! list)

(append-reverse!! rev-head tail)

(append-map!! f list ...)

(map!! f list ...)

(filter!! pred list)

(remove!! pred list)

(partition!! pred list)

(take-while!! pred list)

(span!! pred list)

(break!! pred list)

(delete!! obj list)

(delete-duplicates!! list =)

(alist-delete!! key alist =)

(lset-union!! list ...)

(lset-intersection!! list1 list2 ...)

(lset-difference!! list1 list2 ...)

(lset-xor!! list ...)

(lset-diff+intersection!! list1 list2 ...)

(list-replace!! dst-last dst-first src-first src-last)