Fork me on GitHub
#clojure-europe
<
2023-06-20
>
dharrigan06:06:34

Good Morning!

schmalz07:06:09

Morning all.

Mario Trost07:06:35

Good Morning! This morning took the time to read what the Paredit command Convolute Sexp does. Nice.

parens 4
metal 2
Mario Trost07:06:58

And I lol'ed at Calva here:

😁 4
pez07:06:28

Haha! Please share what you found out. I keep trying to and sometimes I guess correctly, but most often it turns out I would need something else convoluted

2
Mario Trost08:06:27

Sure! You have this code:

(let ((x 1)
      (y 2))
  (when condition-p
    (do-something x y)))
and want to move the let bindings inside the when block. If you position the cursor at the opening of (do-something x y) and run the command you get:
(when condition-p
  (let ((x 1)
        (y 2))
    (do-something x y)))
That's the example https://hungyi.net/posts/convolute-lisp-sexp-with-smartparens/ which also links to this short clip: https://www.youtube.com/watch?v=D6h5dFyyUX0&amp;t=117s

❤️ 2
pez08:06:14

Thanks. I think I might get it now. I’ll practice and see if that’s true. 😀

🙌 2
Mario Trost09:06:01

and "feel like a king" 🙂

simongray08:06:56

having two small kids sure is a way to rid yourself of much needed sleep…

Ben Sless09:06:02

There is an excellent way of losing more sleep A third

laughcry 4
Sam Ritchie14:06:35

Haha confirmed!

ray11:06:23

Morning

lemontea16:06:07

morninginging

👋 2
otfrom17:06:31

my tinnitus is acting up now

2
lemontea17:06:19

@U0525KG62 ya we need a sound engineer