Fork me on GitHub
#announcements
<
2023-06-05
>
Abhinav03:06:27

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

🎉 34
❤️ 2
anonimitoraf05:06:08

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

❤️ 2
Abhinav05:06:29

@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?

👍 8
anonimitoraf05:06:38

Cool, I’ll send those details through in 2 hours or so

clojure-spin 2
2
borkdude12:06:32

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

Abhinav15:06:28

@U04V15CAJ thanks for the suggestion. I've added the description.

👍 2
anonimitoraf02:06:07

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!

Abhinav05:06:24

@UR37CBF8D better-cond wouldn't have worked in versions before 0.1.13. maybe you were using an older version?

anonimitoraf21:06:32

Hi @U02CVMEFEUF, just checked again (with 0.1.14), code snippet above works fine.

clojure-spin 2
Lari Saukkonen09:06:46

I just came to say that I’m a big fan of snitch!

Abhinav15:06:14

@U01TATEPSG4 that means a lot, thanks very much ❤️

🙌 1