clj-kondo 2025-10-02

I noticed that :arglists metadata on a function doesn't overwrite clj-kondo's determination of the arg lists. Is that intentional?

I can't speak for clj-kondo but I know Eastwood relies on the :arglists metadata and when it doesn't match the actual arity/arities of the function, Eastwood gets into a mess...

There are quite a few libraries out there that use :arglists for documentation, where the actual arguments don't match at all! 🙂

Oh right. Yeah :arglists meta is for docs. Can't be trusted to be actual fn signature.

well, that was exactly my situation lol. i have an [& args] macro with specified :arglists and it would be nice if clj-kondo looks at the arglists to determine invalid arities

Ah. So you doc desired usage via :arglists but the actual signature is loosey goosey.

👍 1

yes, it is intentional, since arglists sometimes contains pseudo-notation

👍 1

and sometimes absolute garbage!

I've been meaning to ask @seancorfield - what does the "15 years 🎉 " mean on your name, that you are a member of this slack since 15 years? I think it only existed for 11 years or so?

Yes indeed. I could write a hook to do that for me but that's a lot more work lol. I've opted to change the function signatures to make clj-kondo happy, as this will be a wildly used internal library, but seemed worth checking up on

It was a good question @nbtheduke!

2

@borkdude I've no idea where Slack got "15 years" from. I'm pretty sure I only started using Slack in 2015 -- certainly that's when the three workspaces I moderate were all created...

are you seeing it yourself as well?

or maybe you've been doing 15 years of clojure?

On your Slack profile, there is a Start Date you can fill in. I think it is related to this. So you probably entered the date you started Clojure in that field @seancorfield? https://slack.com/help/articles/11200347239827-Manage-profile-celebrations

that makes sense! Congrats @seancorfield!

Oh, I'd totally forgotten that!! It's a JOB start date! Yes, I joined World Singles Networks llc 15 years ago (I'd been a part-time contractor for just over a year prior to that).

🎉 4

I first learned Clojure (from Amit Rathore's in-person workshop) in Spring 2010, and introduced it at work early in 2011 after some discussions and trials in late 2010.