#430 revealed a faster way to support s/fn-schema via metadata. We should look into the performance improvements of using the same strategy for s/letfn and then perhaps deprecate schematize-fn.
Idea:
(s/letfn [(f [a ...])]
...)
=>
(letfn [(f [a ...])]
(let [f ^{:schema ...} (fn [a ..] (f a ...)))]
...))
#430 revealed a faster way to support
s/fn-schemavia metadata. We should look into the performance improvements of using the same strategy fors/letfnand then perhaps deprecateschematize-fn.Idea: