Welcome! Please see the About page for a little more info on how this works.

0 votes
in Clojure by

One cool feature of schema is that it works well with type hint,
So I can use it for validation, compiler optimization and documentation directly on the function. I'd like to know if the same could be done using specs and if possible, a real example. Thanks!

1 Answer

0 votes
by
selected by
 
Best answer

No, you can’t currently use specs as type hints.

...