diff --git a/test/syntax-sample.hy b/test/syntax-sample.hy index 439307a..3a5dd5f 100644 --- a/test/syntax-sample.hy +++ b/test/syntax-sample.hy @@ -5,7 +5,7 @@ (defmacro hello [person] `(print "Hello there," ~person)) -(+ "hello " "world") ; = > "hello world" +(+ "hello " "world") ; => "hello world" (setv mylist [1 2 3 4]) (setv π 3.13159) @@ -13,5 +13,5 @@ (defmacro example [#* args] (str (+ #* args))) -(setv dict {:a 1 :b 2 :c 3}) -(get dict :a) +(setv a-dict {:a 1 :b 2 :c 3}) +(get a-dict :a) ; => 1