This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2021-08-07
Channels
- # announcements (10)
- # babashka (11)
- # beginners (69)
- # calva (1)
- # cider (2)
- # clj-kondo (35)
- # cljdoc (48)
- # cljs-dev (3)
- # clojure (60)
- # clojurescript (10)
- # community-development (6)
- # cursive (4)
- # datahike (1)
- # datalog (33)
- # deps-new (2)
- # depstar (8)
- # docker (24)
- # fulcro (1)
- # graphql (4)
- # honeysql (5)
- # java (2)
- # leiningen (2)
- # missionary (3)
- # off-topic (104)
- # pedestal (8)
- # polylith (18)
- # portkey (3)
- # reagent (7)
- # reveal (1)
- # rewrite-clj (4)
- # shadow-cljs (19)
- # specter (3)
- # tools-deps (2)
@lee By standing on your shoulder, I finally make my babashka script work, thanks so much! Here is the script: https://github.com/whatacold/babashka-tools/blob/master/illustrate.clj
Aside from rewrite-clj, I learned two things from you code:
1. Keep the number of bindings of loop
as less as possible, one binding is best, so that this is little for recur
to care about.
2. The [...]
part of let
is a good place to put some logic, so that the body part could be simple and clean.
Awesome @whatacold! Thanks for sharing!
Thanks for the kind words, and I also made this into a blog post for better reading: https://whatacold.io/blog/2021-08-07-illustrate-clojure-snippet/