Hi,
Am I right to think you can't currently fdef a defmulti function? I tried and when running tests using clojure.spec.test/instrument I see:
1. Unhandled java.lang.ClassCastException
clojure.spec.test$spec_checking_fn$fn__12959 cannot be cast to
clojure.lang.MultiFn
core.clj: 1806 clojure.core/get-method
core.clj: 1806 clojure.core/get-method
time_series.clj: 474 tulos.time-series/eval181936/fn
So I guess what happens is the fdef+instrument adds a normal fn wrapper, which then isn't a multi method and it breaks down.
Has this been discussed before? Any plans? I didn't find anything.
Thanks,
Patrik