From 6a2a21591c4ffc1be1c6dc2fab1702477dbf7f4a Mon Sep 17 00:00:00 2001 From: jlangch Date: Mon, 1 Apr 2024 02:01:02 +0200 Subject: [PATCH] added doseq example for maps --- src/main/resources/com/github/jlangch/venice/core.venice | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/main/resources/com/github/jlangch/venice/core.venice b/src/main/resources/com/github/jlangch/venice/core.venice index 16af57490..c1d525481 100644 --- a/src/main/resources/com/github/jlangch/venice/core.venice +++ b/src/main/resources/com/github/jlangch/venice/core.venice @@ -1131,7 +1131,8 @@ "(doseq [x (range 10) :when (odd? x)] (print x))" "(doseq [x (range 10) :when (odd? x)] (print (* x 2)))" "(doseq [x [1 2 3] y [1 2 3]] (println [x y]))" - "(doseq [[x y] [[0 1] [1 2]]] (println [x y]))", + "(doseq [[x y] [[0 1] [1 2]]] (println [x y]))" + "(doseq [[k v] {:a 1 :b 2}] (println [k v]))", """ (doseq [[c vals] (group-by count ["a" "as" "asd" "aa" "asdf" "qwer"])] (println c vals))