Fork me on GitHub

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?

Alex Miller (Clojure team)18:03:19

there are a lot of tradeoffs (var meta is evaluated in particular) and yes there are some things being considered here

👍 3
Oliver George22:03:50

@alexmiller have you peeked at the survey responses? Does it help justify prioritisation/investment in v2 spec?

Alex Miller (Clojure team)22:03:20

I have, although I didn't really need the survey to tell me people are interested in spec :)

🙂 7
Colin P. Hill13:03:55

I imagine checking the survey to confirm that people want spec2 is rather like checking a thermometer to confirm that lava is, indeed, hot