bldc/tests/test_match_8.lisp

8 lines
131 B
Common Lisp

(define f (lambda (x) (+ x 2)))
(check (eq (match (f 1)
( 3 't)
( _ 'nil))
't))