Hi. Total beginner here. I've seen mention of this global registry of specs. Where can I see which specs are defined there? Also, are there any writings about spec and other format-specific Schema definitions (like XML Schema (.xsd) or JSON schema things)?
https://github.com/edn-query-language/eql/blob/master/src/edn_query_language/core.cljc is like 50% specs, 50% code
Thanks for the pointers. I was expecting more packages like this, I think, to capture "ontologies", the same way there are schemas for e.g. geometry data, like https://github.com/mapbox/geobuf , http://wiki.ros.org/geometry_msgs Is that kind of the spirit of spec at all?
https://clojure.github.io/spec.alpha/clojure.spec.alpha-api.html#clojure.spec.alpha/registry to get the registry
it’s global--to your process, not the world
I see. Thanks! I think I misinterpreted. Are there clojure libraries/packages that primarily define specs?
I only know of https://github.com/cognitect-labs/anomalies Sometimes a library will include specs for its api or extension points. I’m not aware of any library that just shares spec objects the way one would share utility functions