mirror of
https://github.com/teo3300/rust-mal.git
synced 2026-01-12 09:15:32 +01:00
Fixing function call
Previously only returned last element of ast, without evaluating other elements recursive env_get is now iterative Signed-off-by: teo3300 <matteo.rogora@live.it>
This commit is contained in:
@ -3,4 +3,6 @@
|
||||
(assert-eq nil (ok? (1)))
|
||||
(assert-eq true (ok? 1))
|
||||
(ok? (assert true))
|
||||
(not (ok? (assert nil)))
|
||||
(not (ok? (assert nil)))
|
||||
(assert (not (ok? (assert-fail '1))))
|
||||
(assert (ok? (assert-fail '(1))))
|
||||
Reference in New Issue
Block a user