Fork me on GitHub
#clojure-spec
<
2020-02-14
>
jasonjckn23:02:55

A way to attach meta data to a spec or something similar enough ? e.g.

(s/def ^:property1 ::myspec ...)

seancorfield23:02:41

@jasonjckn You can't add metadata to a keyword.

jasonjckn23:02:45

yah I'm aware; thanks for the reply

jasonjckn23:02:13

https://github.com/mpenet/spex is a 3rd party lib that offers meta data ; but unlikely to be maintained i'd guess

mpenet11:02:52

You'd be surprised ;)

mpenet11:02:41

In any case, it's just an atom and a couple of functions, easy to make a metadata registry of your own until core implements one