Sometimes I find the best place to put fn specs as metadata on de fn, like tests
(defn a
{:spec (s/fspec ...)}
[]
...)
is this something being considered for spec2? technically you can already do this, is there tooling around using specs on metadata?there are a lot of tradeoffs (var meta is evaluated in particular) and yes there are some things being considered here
@alexmiller have you peeked at the survey responses? Does it help justify prioritisation/investment in v2 spec?
I imagine checking the survey to confirm that people want spec2 is rather like checking a thermometer to confirm that lava is, indeed, hot
I have, although I didn't really need the survey to tell me people are interested in spec :)