Re: Apparently nondeterministic compilation failure

2017-01-24 Thread Mike Rodriguez
I believe it is generally true that the Clojure-maven-plugin has non-deterministic ordering of namespaces it auto "discovers" for its various goals that involve namespace discovery. This has been a source of frustration for me in the past as far as trying to get determinism with test behaviors

spec s/keys and required attributes

2017-01-24 Thread Tyler Solomon
I'm attempting to rewrite our validation using spec and am running into some trouble with naming of nested entities. Our system processes bills, and we require different fields depending on the context. So, for instance, in data-entry-form-1 say we require ``` (s/def :form/data-entry-form-1

Re: Apparently nondeterministic compilation failure

2017-01-24 Thread Timothy Dean
I could be wrong, but I think I've seen this before under these circumstances: Clojure namespace ns-a imports Java class SomeClass. Clojure namespace ns-b requires ns-a. Clojure namespace ns-b refers to SomeClass, and everything works smoothly. Then ns-a stops importing Java class SomeClass, and

Re: beginner - assoc groups and/or 1+N SELECTs

2017-01-24 Thread Ted S.
After a good night's sleep, I just read my original post again and realized my attempt to provide context made it kind of rambling. Sorry for that. My burning question is this: I'd like to nest groups of children data into a collection of parent data. My "assoc-groups" function (code sample rep