This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2023-06-05
Channels
- # announcements (11)
- # architecture (22)
- # babashka (33)
- # beginners (15)
- # biff (8)
- # calva (7)
- # clj-otel (1)
- # cljs-dev (3)
- # cljsrn (5)
- # clojure (76)
- # clojure-art (1)
- # clojure-europe (36)
- # clojure-hamburg (3)
- # clojure-nl (1)
- # clojure-norway (7)
- # clojure-poland (12)
- # clojure-spec (2)
- # clojure-uk (7)
- # clojurescript (9)
- # cursive (22)
- # data-science (6)
- # datomic (7)
- # fulcro (9)
- # hoplon (14)
- # instaparse (2)
- # jobs-discuss (14)
- # london-clojurians (1)
- # matrix (32)
- # music (1)
- # nbb (8)
- # off-topic (18)
- # pathom (29)
- # pedestal (6)
- # portal (34)
- # reagent (2)
- # reitit (4)
- # releases (1)
- # sci (10)
- # shadow-cljs (7)
- # tools-deps (4)
- # vim (6)
New https://github.com/AbhinavOmprakash/snitch release version 0.1.14.
Snitch has macros that injects inline defs in your functions, multimethods, let forms, and lambda functions. This enables a repl-based, editor-agnostic, clojure and clojurescript debugging workflow. It is inline-defs on steroids.
Changes
• Lambda fns inside defn
, let
and fn
form also get inline deffed now (this wasn't the case earlier)
• Snitch macros preserve Metadata.
Shoutout to @brandon.ringe who helped a lot with testing this release and working with me through a lot of bugs.
Suggestions, feature requests, and bug reports are always welcome 🙂
Thanks to everyone who uses snitch ❤️
you can get the new release at https://clojars.org/org.clojars.abhinav/snitch
I love snitch! I use it on the daily. I have noticed that it doesn’t work with https://github.com/Engelberg/better-cond (which I somewhat expected). Does it feel feasible to support better-cond
? Happy to help if I can
@UR37CBF8D hey, I'm glad you like snitch. which version are you using, could you try the latest version and see if it better-cond works with it. if not could you share an example of what does not work?
It would be nice if you could post the tagline of your library in the announcement so it's immediately clear what the project is about
Sorry this slipped my mind @U02CVMEFEUF! I did get to try something out just now using ver 0.1.14)
(def a 22)
(defn* f [x] (inc x))
;; x => 22
(better/cond
(odd? a) 1
let [b (f a)]
b)
;; => 23
Works fine, although I can’t recall what my actual use case was. It’s been a long time since I tried to use better-cond
but will message you when it comes back to me!@UR37CBF8D better-cond wouldn't have worked in versions before 0.1.13. maybe you were using an older version?
Hi @U02CVMEFEUF, just checked again (with 0.1.14), code snippet above works fine.
I just came to say that I’m a big fan of snitch!