logoalt Hacker News

sourdecor • today at 8:35 AM • 0 replies • view on HN

I recently found out you can use Malli type providers[0] with Typed Clojure[1] to get instant feedback when developing!

So you can do this when programming:

  (m/=> foo [:=> [:cat :int] :int])
  (defn foo [t] (inc t))
  (foo 1)
[0]: https://github.com/typedclojure/typedclojure/tree/main/examp...

[1]: https://github.com/typedclojure/typedclojure