> (cons 1 (cons 2 (cons 3 ()))) #%app: missing procedure expression; probably originally (), which is an illegal empty application in: (#%app) > (cons 1 (cons 2 (cons 3 '()))) (1 2 3) > '(1 . (2 . (3 . ()))) (1 2 3) > '(1 . 2) (1 . 2) > '(1 . (2 . ())) (1 2) > '(1 . (2 . (3 . 4))) (1 2 3 . 4) > (1 2 3) application: not a procedure; expected a procedure that can be applied to arguments given: 1 > '(1 2 3) (1 2 3) > (1 (+ 2 3) (- 4 5)) application: not a procedure; expected a procedure that can be applied to arguments given: 1 > '(1 (+ 2 3) (- 4 5)) (1 (+ 2 3) (- 4 5)) > (list 1 (+ 2 3) (- 4 5)) (1 5 -1) > (list 1) (1) > (list) () > (cdr (list 1 2 3)) (2 3) > (cadr (list 1 2 3)) 2 > (caadr (list 1 2 3)) mcar: contract violation expected: mpair? given: 2 > (caddr (list 1 2 3)) 3 > (length l) 5 > (append '(1 2 3) '(4 5 6) '(7 8 9)) (1 2 3 4 5 6 7 8 9) > (append '(1 2 3) '(4 5 6)) (1 2 3 4 5 6) > (append '(1 2 3) '(4 5 6)) (1 2 3 4 5 6) > (reverse l) (5 4 3 2 1) > (reverse l) (((((() . 5) . 4) . 3) . 2) . 1) > (reverse l) (((((() 5) 4) 3) 2) 1) > (reverse l) (5 4 3 2 1) > (list-tail l 3) (4 5) > (list-tail l 3) (4 5) > (list-tail l 10) mcdr: contract violation expected: mpair? given: () > (list-ref l 3) 4 > (list-ref l 3) 4 > (member 2 l) #t > (member 20 l) mcar: contract violation expected: mpair? given: () > (member 20 l) #f > (member 2 l) #t