blob: ed5abfd1df8687485095b36a4b37389b531ca7ce (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
;;; Commentary:
;; Checks some prodecuders from (calp util)
;;; Code:
(((calp util) filter-sorted set/r!))
(test-equal "Filter sorted"
'(3 4 5)
(filter-sorted (lambda (x) (<= 3 x 5)) (iota 10)))
(test-equal "set/r! single"
#f
(let ((x #t))
(set/r! x = not)))
|