Dustin Getz

Results 288 comments of Dustin Getz

Here are some real world tests from our codebase - Photon compiler https://gist.github.com/dustingetz/12a6eb81e585942e277b4bec47d98dd5 Missionary m/cp explanation https://gist.github.com/dustingetz/9f8f8ae739fc6efc70f4f5855817b85d and of course in the wild https://github.com/clojure/core.unify/blob/e2ae03c08b45528f3274d154a8f4625e7acbeccd/src/main/clojure/clojure/core/unify.clj#L246-L358

If you paste `(assert= (keyword "a") :a)` into the REPL, `*1` would be expected to bind to the result of the assert (a bool or something), not :a, which is...

Our worldview is that in this real-world RCF: ```clojure ; https://clojuredocs.org/clojure.core/map (map inc [1 2 3 4 5]) ;;=> (2 3 4 5 6) ``` To learn what this does,...

Ah the question is not can we do it, the question is what is the least surprising behavior. Consider: in `(tests (inc 1) := _)` it is clear that `*1`...

Thank you for sharing your idea! Parsing `comment` is tricky: - Async tests have additional syntax - rcf/% and rcf/! - ClojureScript support, for each way to build ClojureScript (Shadow...

Ah, thank you for pointing out that you tag the comment for RCF evaluation, I missed that!

> rcf is a great initiative but I wouldn't want to pull in test libraries / dependencies in production builds. Maybe it's just me but I think having a reduced...

put your cursor on the 1 and send form to repl? I am confused

Thanks for pointing that out – I don't think we considered that style. What do you think of ```clojure (require '[hyperfiddle.rcf :as rcf :refer [=> tests]]) (tests (map inc [1...