meander 2023-03-01

Hello y’all! I really like how rewrite works in meander, great job on your part and thanks for creating this piece of software! I am only experiencing a minor inconvenience with clj-kondo, which rightfully complains that all variables like ?a are undefined. How can I prevent this error, apart from muting clj-kondo?

You can maybe mute clj-kondo selectively only the meander macros

Ah ok, thanks anyways!

I happen to have another question. When starting up the repl, I get a reflection warning for the field val in meander/util/epsilon.cljc:758:24. What could cause this?

It's probably better to ask this in the main channel. I only responded to your clj-kondo question because I happen to know stuff about clj-kondo

👍 2

IIRC I get that too.

If more people have that issue, I will try to to minimize the problem and open an open issue on github if it persists

What issue are you referring to now, kondo or reflection?

I'm referring to the issue regarding reflection

Feel free to join #clj-kondo for the kondo

Thanks for the link!

@markus873 I’m not sure about the reflection warning.

Also, not to say something bad about clj-kondo, but I don’t use it myself because of issues with macros and I don’t have enough time in the day to learn all the knobs on the thing. @borkdude I’d probably use it more if 1) I knew how to tell it never to lint a macro it didn’t come with support for linting already, and 2) there were a UI/nice interface for configuring it. The serious bias toward configuration over convention in the Clojure space comes at the expense of end users — including long time users of Clojure like me — having to spend a lot of time trying to track down whether or not a tool has switch for the thing they want to do. Pitch: considering the abundance of data describing data formats out there pick one and use it to build a humane UI/interface for creating/manipulating them. A VS Code settings like interface would be awesome.

Like, fuck, we have config for deps.edn, project.clj, CLJS, whatever shadow’s thing is because I forgot the name of it because CLJS dev is hell, config for Kondo, and the list goes on.

@noprompt There are ways to provide config for your library which you write only once and the rest of the world gets automatically when using your lib

I’m ranting a bit here but this is a reality for a lot of Clojure devs.

If anyone needs help with that, I'm available in #clj-kondo. I'm not here to sell clj-kondo.

Most of the time the reason I won’t use a thing is because I don’t have the time to spend hours trying to figure out how to configure it and we have no tools for configuration which is ironic considering how much I’ve heard about the mythical “tool maker” over the years and how “just data” is so liberating in that regard.

Thanks for the information on this @noprompt! Well, I’m not so sure what causes the reflection error either, but for now it’s just an annoying error that doesn’t really cause anything in my program. If you don’t have an idea what could be causing it, then I’ll just ignore it for now, since I can’t pinpoint the problem.

@borkdude I just want it not to lint any macros it doesn’t understand. Again, I would use it if I could just blanket tell it that.

@markus873 Yes, I’m sorry about that. I will look at this tomorrow.