Fork me on GitHub
#clojure-spec
<
2019-02-19
>
Alex Miller (Clojure team)12:02:55

You need to force eval somehow so macro around it, use eval, etc. this is an area where there are more and different answers in spec 2

sonnyto12:02:34

thanks. i used def-impl directly . is this a problem?

Alex Miller (Clojure team)13:02:40

it's fine (although won't work in spec 2)

Alex Miller (Clojure team)13:02:09

there is a new function in spec 2 called register that is similar

👍 5
borkdude16:02:38

Is metadata and docstrings on specs considered for spec2? E.g. I’d like to conditionally instrument them based on metadata

Alex Miller (Clojure team)18:02:26

it was in scope for spec 1 we just never got to it :)