This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2023-03-02
Channels
- # announcements (25)
- # babashka (76)
- # beginners (74)
- # biff (36)
- # calva (11)
- # cider (5)
- # clerk (43)
- # cljs-dev (4)
- # cljsrn (12)
- # clojure (111)
- # clojure-austin (14)
- # clojure-europe (82)
- # clojure-nl (2)
- # clojure-norway (5)
- # clojure-uk (1)
- # clojurescript (36)
- # core-async (13)
- # cursive (30)
- # datomic (12)
- # fulcro (6)
- # honeysql (9)
- # hyperfiddle (73)
- # instaparse (3)
- # introduce-yourself (1)
- # jobs (1)
- # membrane (40)
- # nbb (2)
- # off-topic (6)
- # other-languages (8)
- # polylith (33)
- # reagent (2)
- # reitit (7)
- # rum (7)
- # shadow-cljs (47)
- # tools-deps (10)
- # vim (11)
- # xtdb (16)
https://github.com/babashka/neil: a CLI to add common aliases and features to deps.edn
-based projects
See the https://blog.michielborkent.nl/new-clojure-project-quickstart.html blog post for a gentle introduction into neil
.
0.1.57 (2023-03-02)
Changes since last announcement in thread! Join #babashka-neil for details
• https://github.com/babashka/neil/pull/166: Update neil new -h
output to include list of provided templates (@U3X7174KS)
• Upgrade git libs using explicit :git/url
when available
• https://github.com/babashka/neil/issues/163: Upgrade libraries, including deps-new to 0.5.0, which no longer uses https://github.com/seancorfield's tools.build wrapper in project templates
• Bug fix for kaocha alias and script typos (https://github.com/KingMob)
• https://github.com/babashka/neil/issues/159: fix pmap
+ requiring-resolve
issue
• Clojars search improvements (https://github.com/tobias)
• Fix fetching versions from maven central
• Fix neil dep add
• Provide bbin
install instructions installing a development version (https://github.com/teodorlu)
• Fix incorrect "Requires clean working directory" error in neil version
• https://github.com/babashka/neil/issues/148: Always add latest kaocha version
• https://github.com/babashka/neil/issues/148: Print instructions for making a bin/kaocha
script
• https://github.com/babashka/neil/issues/146: Prefer stable versions when running neil dep upgrade
. Versions with any qualifier (like -rc1
, -alpha
, etc). are considered unstable.
• Fix neil dep search
helptext formatting (https://github.com/teodorlu)
• Move neil dep upgrade
helptext into subcommand (https://github.com/teodorlu)
• https://github.com/babashka/neil/issues/150: swap babashka.curl
for babashka/http-client
First non-beta releases of undertow
and ring-undertow
libraries are available.
• https://github.com/strojure/undertow
• https://github.com/strojure/ring-undertow
Announcing https://github.com/borkdude/deflet: Make let-expressions REPL-friendly! > Let them have their inline-def and eat it too
probably not an optimal clj-kondo config but good enough for the first release :)
this is very cool
Nice but I think I'm missing something... you can't really evaluate the expressions one by one, can you?
(deflet
(def x 10)
(inc x) ;; => 11
(dec x) ;; =? 9
)
In Calva, I have to do "evaluate from start of the list to cursor, closing brackets". If I just evaluate the single (inc x)
obviously it's looking for an x
in the global environment.
similar to how you would evaluate expressions in a rich comment form. you don't evaluate them all in one go, right? at least, I never do that
Right, so during REPL development you are polluting the global environment (by creating a var) - but then you can copy the entire snippet into a test case and the def
will be converted into a let
, right?
I found myself translating these def-like "stories" to let
a lot when writing / debugging UI tests
That is a good tactic! Thanks for clarifying, for a bit I was confused. I do the same top-level def in production sometimes and I’m a bit worried I’ll mess something up globally. So I thought this would fix my issue without changing me workflow.
deflet is now available on clojars (0.1.0) and the clj-kondo hook has been improved (it expands exactly like the macro, lsp navigation works)
borkdude train has no brakes lol keep the good work!