3 ms·
In Clojure you can use schema (https://github.com/Prismatic/schema https://github.com/Prismatic/schema) which does the same thing without needing a separate lan
by islon 13y ago
In Clojure you can use schema (https://github.com/Prismatic/schema https://github.com/Prismatic/schema) which does the same thing without needing a separate language.
- blambeau 13y agoThe point here is to have a separate language. Data interoperability is about having multiple languages, not having only one to rule the world.
- emidln 13y agoI've done (limited) schema validation in Python. Schema exports reasonably well to EDN (it is just clojure after all). One can read EDN pretty well. I don't have a full-blown Clojure interpreter that would be necessary for arbitrary Schema, but I can handle the core types as well in Python (or random other language) as I could in Clojure/Clojurescript.