Fork me on GitHub
#core-typed
<
2022-06-03
>
J15:06:07

Hi! I try typed clojure + malli with this code:

(ns typed-clojure.core
  (:require [typed.clojure :as t]
            [malli.core :as m]))

(m/=> hello-world [:function
                   [:=> :cat :int]
                   [:=> [:cat :string] :int]])
(defn hello-world
  ([]
   (hello-world "World"))
  ([name]
   (format "Hello %s" name)))
But when I run (t/check-ns-clj) I got the following error: Unannotated var malli.core/-register-function-schema! Do I miss something? Edit: My bad missing typed.malli dependency