This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2021-08-03
Channels
- # announcements (12)
- # babashka (36)
- # beginners (126)
- # calva (26)
- # cider (10)
- # clj-kondo (71)
- # cljdoc (3)
- # cljsrn (2)
- # clojure (232)
- # clojure-australia (1)
- # clojure-europe (11)
- # clojure-france (20)
- # clojure-nl (4)
- # clojure-norway (1)
- # clojure-serbia (4)
- # clojure-uk (6)
- # clojurescript (62)
- # conjure (5)
- # cursive (12)
- # data-science (1)
- # datomic (57)
- # deps-new (1)
- # duct (3)
- # emacs (5)
- # events (8)
- # fulcro (6)
- # graalvm (5)
- # helix (3)
- # jobs (6)
- # jobs-discuss (3)
- # kaocha (4)
- # lsp (128)
- # malli (12)
- # missionary (22)
- # off-topic (1)
- # pathom (7)
- # polylith (27)
- # quil (1)
- # re-frame (20)
- # react (9)
- # reitit (12)
- # releases (8)
- # remote-jobs (3)
- # sci (3)
- # shadow-cljs (9)
- # spacemacs (10)
- # tools-deps (7)
- # vim (7)
- # xtdb (14)
side note:
(let [s [:catn [:rest [:? any?]]]]
(m/unparse s (m/parse s [])))
=> [nil] ;; should be []
Any idea how to make the transformer tests not rely on map order? https://github.com/metosin/malli/pull/497
@ben.sless looks great! Commented the PR, ideas about the order & stuff
how do i do this?
(def PhaseStepSchema
(mu/merge
BaseStepSchema
[:map {:closed true}
[:phase qualified-keyword? {:namespace :phase}]]))
i want the :phase
value to be a namespace-qualified keyword, with the namespace :phase
, aka :phase/action
solution i found: [:phase [:qualified-keyword {:namespace :phase}]]
I came across an extremely weird phenomenon which I don't think should happen
1. Unhandled java.lang.VerifyError
Stack map does not match the one at exception handler 1251 Exception
Details: Location:
malli/core_test$fn__30148$fn__32525.invoke()Ljava/lang/Object; @1251:
astore_3 Reason: Type 'java/lang/Throwable' (current frame,
locals[6]) is not assignable to 'clojure/lang/Keyword' (stack map,
locals[6]) Current Frame: bci: @1175 flags: { } locals: {
'malli/core_test$fn__30148$fn__32525',
'clojure/lang/IPersistentVector', null, null, 'java/lang/Object',
null, 'java/lang/Throwable' } stack: { 'java/lang/Throwable' }
Stackmap Frame: bci: @1251 flags: { } locals: {
'malli/core_test$fn__30148$fn__32525',
'clojure/lang/IPersistentVector', 'java/lang/Object', null,
in accumulating errors #84
Will try another JVM version