summaryrefslogtreecommitdiffhomepage
path: root/hy.html.markdown
diff options
context:
space:
mode:
authorinkling <27819662+driftsignal@users.noreply.github.com>2024-03-23 00:32:38 -0400
committerGitHub <noreply@github.com>2024-03-23 13:32:38 +0900
commitd72ab67435028216145e2cdb579df7f3cf6154ff (patch)
treeb402ce435c1efc1aff4d001874e65dba79039f9f /hy.html.markdown
parent4fafc296669ffccab831bcd5d3407cf934f0d228 (diff)
Update hy.html.markdown for 0.28.0 (#4867)
for looping seems to have updated in this version
Diffstat (limited to 'hy.html.markdown')
-rw-r--r--hy.html.markdown6
1 files changed, 3 insertions, 3 deletions
diff --git a/hy.html.markdown b/hy.html.markdown
index f6bdead0..5eddbf55 100644
--- a/hy.html.markdown
+++ b/hy.html.markdown
@@ -174,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