Filtering...

lambda-listp-tests

books/std/system/lambda-listp-tests

Included Books

other
(in-package "ACL2")
include-book
(include-book "lambda-listp")
include-book
(include-book "std/testing/assert-bang" :dir :system)
other
(assert! (lambda-listp nil (w state)))
other
(assert! (lambda-listp (list '(lambda (x) x) '(lambda (x y z) (binary-+ x x)))
    (w state)))
other
(assert! (not (lambda-listp (list "abc" '(lambda (x) x)) (w state))))
other
(assert! (not (lambda-listp (list '(lambda (x) (- x))) (w state))))
other
(assert! (not (lambda-listp (list* '(lambda (x) (unary-- x)) '(lambda (y) (cons y y)))
      (w state))))