Closed Deraen closed 8 years ago
LGTM. cljs tests don't pass thou.
Yes, trying to understand what is breaking the tests.
Ah, in Cljs the objects and classes are functions. Thus it looks like it's impossible to distinguish between inner, outer and schema if the schema is e.g. s/Str
.
It would make much sense to use same argument order as
clojure.walk/walk
forschema-tools.walk/walk
.This can be implemented as mostly non-breaking change by adding a test to
walk
to check for old order.inner
andouter
arguments aren't necessary fns, but other things which implementIFn
, but because map schemas also implementIFn
,fn?
must be used instead ofifn?