From d72ab67435028216145e2cdb579df7f3cf6154ff Mon Sep 17 00:00:00 2001 From: inkling <27819662+driftsignal@users.noreply.github.com> Date: Sat, 23 Mar 2024 00:32:38 -0400 Subject: Update hy.html.markdown for 0.28.0 (#4867) for looping seems to have updated in this version --- hy.html.markdown | 6 +++--- 1 file 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 -- cgit v1.2.3