does anyone remember seeing a function to add documentation to clojure specs at ClojureX this year - I’m trying to find it, but failing
There isn't one
not a clojure.spec function, but one that someone had added with a library I think
@peterwestmacott possibly https://github.com/uswitch/speculate?
thanks - I had a quick look at that but couldn’t see what I was after
it’s not a big issue - I’ve found a way for now - and I suspect that it might be included in spec in the future
well, maybe :)
in fact what I’m actually after is a way to attach end-user readable messages in case of failure - which is a slightly different use-case
oh, there was something like that going by recently
can’t find it now, sorry