Added safety check

This commit is contained in:
justin 2016-04-06 14:59:37 -04:00
parent 0fc29a1ee6
commit 6aeedbce0e

View file

@ -1507,6 +1507,7 @@
;(lambda->formals (car body))
(lambda->formals exp)
)
(> (length (lambda->formals exp)) 0)
;; TODO: don't do it if args are used in the body
;; this won't work if we have any num other than 1 arg
(not (member