CrypticButter / snoop

Function instrumentation using Malli schemas.
Eclipse Public License 2.0
77 stars 3 forks source link

>defn does not export type annotations like malli #9

Open divs1210 opened 1 year ago

divs1210 commented 1 year ago

With malli annotations, i can do ((requiring-resolve 'malli.clj-kondo/emit!)) and suddenly my editor starts statically type checking functions.

This doesn't work for functions defined using >defn unfortunately.

This should ideally happen automatically with snoop, and not even require running the above snippet.