Fork me on GitHub
#clojure-europe
<
2023-05-04
>
dharrigan06:05:20

Happy Star Wars Day!

schmalz07:05:14

Morning all.

mccraigmccraig08:05:37

does anyone use clojure.template much ? the only use i've noticed out in the wild is in the lux compiler ... https://github.com/LuxLang/lux/blob/91bc060bc498a0d2418198cfcb9dc39636d1d867/lux-bootstrapper/src/lux/parser.clj

borkdude08:05:48

I often start with that but then end up with`clojure.walk/postwalk-replace` since I need something more run-timey

mccraigmccraig09:05:56

do any particularly representative examples jump out @U04V15CAJ?

mccraigmccraig09:05:17

i guess your experience makes sense - lux being all about compile-time might find clojure.template more useful

borkdude09:05:47

@U0524B4UW are you asking for an example of postwalk-replace?

borkdude09:05:03

I wrote a template function but I then discovered that postwalk-replace did exactly that ;) Its use is here: https://github.com/clj-kondo/clj-kondo/blob/493b5f38163837b6d03704cb9c81e27bb2badbb7/test/clj_kondo/discouraged_var_test.clj#L61

πŸ‘ 1
ray11:05:59

May the ( ) be with you

parens 6
lightsaber 1
simongray17:05:50

My toy finally arrived

πŸ”­ 7
1
seancorfield17:05:14

And a young astronomer-in-training! πŸ™‚

simongray18:05:04

Possibly in the future. For now his interest seems to be mainly adjusting any knobs he can locate 😁

πŸŽ›οΈ 3
πŸ˜„ 1
mccraigmccraig07:05:50

oh - that's a pretty neat compact construction!

simongray11:05:38

Yeah, I bought this one specifically because it can be collapsed and transported in my cargo bike inside its original packaging.

orestis05:05:27

Woo I bought the same for my brother. Same consideration, adjusting tripods and stuff can be a drag.

πŸ‘ 2