I guess I'm confused why the Clojure philosophy of "data > fns > macros" is
being ignored in this particular case, when the other schema libraries show
that there is an army of end-users that want to do unexpected things with
specifications, and to do that, it would be easiest if they had data IRs,
c.f. the Schema model:
macros to look nice ->
data repr ->
-compile to-> validator
*or* -translate to-> data repr with subgenerators attached ->
-compile to-> generator *or*
-compile to-> ??? something a clever tester dreamed up ???
*or* -compile to-> fn returning nice error message
*or* -compile to-> ??? something a clever user dreamed up ???
I'll leave it at that, I've put my 6 cents in.
--
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to [email protected]
Note that posts from new members are moderated - please be patient with your
first post.
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
---
You received this message because you are subscribed to the Google Groups
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.