(keys (:nodes hodl-config)))))
(map #(gen-for-node hodl-config config %)
So I have code similar to this
Found 15 possible answers.
|User||Answered At||Possible Answer|
nil -> foo abc boot.user=> (foo (println "abc")) #'boot.user/foo
+user=> (let [f inc g inc h inc i inc j inc k inc l inc m /] (f (g (h (i (j (k (l (m 1 0)))))))))
+user=> (let [f inc g inc h inc i inc j inc k inc l inc m /] ((comp f g h i j k l m) 1 0)) now I'm back to my original thought that `comp` avoids creating more stack frames, but I would be surprised if <@stuartsierra> was wrong about this
- Is there a library that can generate specs from a schema tx?
- I’m looking for some feedback on our datomic schema. anybody can give us some guidance? schema & questions here: https://gist.github.com/kommen/a902e4c5bfef1395e69a617d1cb427ac
- Say I have a data type which wraps a value, it’s not a clojure collection, there’s some function you use to unwrap the value I guess I can just use pred/constrained? is there a way to create a schema that an object of that type would match which applies some inner schema to the value?
- the form what took in schema?
- @drewverlee what you mean by db schema on this context?
- I'm searching for a way to generate documentation out of my defined schema. Is there a good way to achieve this?
- maybe I will start there. Is there a low-friction way to convert specs to schema or does one still have to hand-ball the schema afterwards? Thanks
- Thanks! ``` ) (= base %)) sq)) (assert (contains? bases %)) (count (filter #( [base sq] "counts instances of base in sq; throws if not a real nucleotide" `nucleotide-count/count \A, ""` throws `actual: clojure.lang.ArityException: Wrong number of args (1) passed to: nucleotide-count/count` where it's defined as:```(defn count Why am I getting an arity exception when an empty string is passed in as a second argument to a function that takes two arguments?
- So CreateReviewForEpisode is defined in the schema?
- why not just fix the schema, then you will have no problems now or in the future ?