diff options
author | inkling <27819662+driftsignal@users.noreply.github.com> | 2024-03-23 00:32:38 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-03-23 13:32:38 +0900 |
commit | d72ab67435028216145e2cdb579df7f3cf6154ff (patch) | |
tree | b402ce435c1efc1aff4d001874e65dba79039f9f /hy.html.markdown | |
parent | 4fafc296669ffccab831bcd5d3407cf934f0d228 (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.markdown | 6 |
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 |