Skip to content

syntax ok?

TurtleKitty edited this page May 17, 2019 · 2 revisions

syntax-ok?

Tests the syntax of a single form for validity.

(syntax-ok? '(if 1 2 3)) ; true

(syntax-ok? '(if 1 2))
; Syntax error:
; (if 1 2)
; if: too few arguments
; (if <predicate> <consequent> <alternative>)
Clone this wiki locally