From 847f5c22590cf6ec6401caf31c2b1744cb67ae1a Mon Sep 17 00:00:00 2001 From: Alexander Hecke <26191361+heckelson@users.noreply.github.com> Date: Tue, 15 Nov 2022 10:29:45 +0100 Subject: Remove dead link --- hy.html.markdown | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'hy.html.markdown') diff --git a/hy.html.markdown b/hy.html.markdown index 1287095f..f6bdead0 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 -- cgit v1.2.3 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(-) (limited to 'hy.html.markdown') 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