This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2023-09-06
Channels
- # announcements (14)
- # babashka (12)
- # beginners (61)
- # biff (2)
- # calva (16)
- # clj-kondo (22)
- # cljdoc (7)
- # clojure (131)
- # clojure-europe (52)
- # clojure-losangeles (9)
- # clojure-norway (54)
- # clojure-spec (5)
- # clojure-uk (4)
- # clojurescript (18)
- # cursive (14)
- # datomic (19)
- # deps-new (14)
- # emacs (8)
- # events (7)
- # fulcro (6)
- # graphql (3)
- # hyperfiddle (42)
- # instaparse (5)
- # lsp (10)
- # malli (21)
- # nbb (1)
- # off-topic (3)
- # pathom (3)
- # polylith (7)
- # reagent (14)
- # releases (2)
sweet-array 0.2.0 is out! https://github.com/athos/sweet-array sweet-array is an array manipulation library for Clojure with "sweet" array type notation and more safety by static types.
0.2.0 adds its own version of the def
macro, which infers the static type of the init expression and automatically adds the inferred array type as the type hint. Using this macro together with other macros from the library, you rarely need to manually add type hints when defining arrays.
An update on UIx Playground: The sandbox is now called “ClojureScript Studio” https://clojurescript.studio Projects can have multiple files, the editor got tabs, more libraries were added, including a new template for Reagent + re-frame projects.
Very cool. Btw, it does not load for me in Firefox on Windows (seems like an infinite loop), but it does load in Chrome.
Thanks for the report, I'll take a look đź‘Ť
@U08JKUHA9 hmm, seem to be working well in Firefox, both on Windows and macOS. Should mention I have a bare bones FF, no extensions, maybe that makes a difference.
Hmm ok, I have FF developer edition, not sure if that makes a difference. I only had uBlock origin running, disabled that but it doesn't change anything.
I read that there is a great dynamic between refx and UIx, but I've not found many examples. Could it be possible to add an example or docs? A boy can only dream.
@UQN9ESJ00 sure, it can be added. I never used refx though, so I'm not sure what exactly should go into the code, perhaps it's worth reaching out to author of the project
@UQN9ESJ00 feel free to submit a request in the repo https://github.com/roman01la/clojurescript-studio, include the code and a list of dependencies that should go into the example project
https://github.com/clj-kondo/clj-kondo: static analyzer and linter for Clojure code that sparks joy ✨
2023.09.07
• https://github.com/clj-kondo/clj-kondo/issues/1332: New linter :unused-alias
. See https://github.com/clj-kondo/clj-kondo/blob/master/doc/linters.md.
• https://github.com/clj-kondo/clj-kondo/issues/2143: false positive type warning for clojure.set/project
• https://github.com/clj-kondo/clj-kondo/issues/2145: support ignore hint on multi-arity branch of function definition
• https://github.com/clj-kondo/clj-kondo/issues/2147: use alternative solution as workaround for https://github.com/cognitect/transit-clj/issues/43
• https://github.com/clj-kondo/clj-kondo/issues/2152: Fix false positive with used-underscored-binding with core.match
• https://github.com/clj-kondo/clj-kondo/issues/2150: allow command line options = as in --fail-level=error
• https://github.com/clj-kondo/clj-kondo/issues/2149: :lint-as clojure.core/defmacro
should suppress &env
as unresolved symbol
• https://github.com/clj-kondo/clj-kondo/issues/2161: Fix type annotation for clojure.core/zero?
to number -> boolean
• https://github.com/clj-kondo/clj-kondo/issues/2165: Fix error when serializing type data to cache
• https://github.com/clj-kondo/clj-kondo/issues/2167: Don't crash when :unresolved-symbol
linter config contains unqualified symbol
• https://github.com/clj-kondo/clj-kondo/issues/2170: :keyword-binding
linter should ignore auto-resolved keywords
• https://github.com/clj-kondo/clj-kondo/issues/2172: detect invalid amount of args and invalid argument type for throw
• https://github.com/clj-kondo/clj-kondo/issues/2164: deftest inside let triggers :unused-value
• https://github.com/clj-kondo/clj-kondo/issues/2154: add :exclude
option to :deprecated-namespace
linter
• https://github.com/clj-kondo/clj-kondo/issues/2134: don't warn on usage of private var in data_readers.clj(c)
• https://github.com/clj-kondo/clj-kondo/issues/2148: warn on configuration error in :unused-refeferred-var
linter
• Expose more vars in clj-kondo.hooks-api
interpreter namespace