summaryrefslogtreecommitdiffhomepage
path: root/hy.html.markdown
diff options
context:
space:
mode:
Diffstat (limited to 'hy.html.markdown')
-rw-r--r--hy.html.markdown9
1 files changed, 4 insertions, 5 deletions
diff --git a/hy.html.markdown b/hy.html.markdown
index 1287095f..5eddbf55 100644
--- a/hy.html.markdown
+++ b/hy.html.markdown
@@ -13,8 +13,7 @@ hy to call native python code or python to call native hy code as well
This tutorial works for hy ≥ 0.9.12, with some corrections for hy 0.11.
```clojure
-;; this gives an gentle introduction to hy for a quick trial head to
-;; http://try-hy.appspot.com
+;; this gives an gentle introduction to hy
;;
; Semicolon comments, like other LISPS
@@ -175,10 +174,10 @@ True ; => True
; create lexical bindings with `let', all variables defined thusly
; have local scope
-(let [[nemesis {"superman" "lex luther"
+(let [nemesis {"superman" "lex luther"
"sherlock" "moriarty"
- "seinfeld" "newman"}]]
- (for [(, h v) (.items nemesis)]
+ "seinfeld" "newman"}]
+ (for [[h v] (.items nemesis)]
(print (.format "{0}'s nemesis was {1}" h v))))
;; classes