From 6301e0b6374cecc5599665be14d6ddc6a31ce1e8 Mon Sep 17 00:00:00 2001 From: Joel Martin Date: Wed, 23 Apr 2014 21:59:50 -0500 Subject: All: TCO let* and quasiquote. --- tests/stepA_more.mal | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'tests') diff --git a/tests/stepA_more.mal b/tests/stepA_more.mal index 0378c58..7b7dac5 100644 --- a/tests/stepA_more.mal +++ b/tests/stepA_more.mal @@ -6,8 +6,9 @@ ;=>nil ;;;TODO: fix so long lines don't trigger ANSI escape codes ;;;(try* -(throw {"data" "foo"}) (catch* exc (do (prn "exc is:" exc) 7))) ;;;; -"exc is:" {"data" "foo"} ;;;;=>7 +;;;(try* (throw {"data" "foo"}) (catch* exc (do (prn "exc is:" exc) 7))) ;;;; +;;;; "exc is:" {"data" "foo"} ;;;;=>7 +;;;;=>7 (try* (throw {"data" "foo"}) (catch* exc (do (prn "err:" exc) 7))) ; "err:" {"data" "foo"} @@ -69,8 +70,9 @@ (read-string "7 ;; comment") ;=>7 +;;; Differing output, but make sure no fatal error (read-string ";; comment") -;=>nil + (eval (read-string "(+ 4 5)")) ;=>9 -- cgit v1.2.3