dom-top icon indicating copy to clipboard operation
dom-top copied to clipboard

Unorthodox control flow, for Clojurists with masochistic sensibilities.

Results 9 dom-top issues
Sort by recently updated
recently updated
newest added

Resolves #2 The tests are all pass (I have GH actions enabled on my fork): https://github.com/lucywang000/dom-top/actions/runs/2613356401

Hey, thanks for a lot for this library. I find the `letr` and `loopr` not only useful in clj, but also in cljs. It improves the readability of some code...

Hi Kyle, Not a big deal but noticed there's a swap file checked into the repository [here](https://github.com/aphyr/dom-top/blob/master/src/dom_top/.core.clj.swp). Thanks for sharing your "dirty little functions" with the world! :wink:

There's a clj-kondo [`analyze-call` hook](https://github.com/clj-kondo/clj-kondo/blob/master/doc/hooks.md#analyze-call) I created for your excellent `loopr` macro, [here](https://github.com/walterl/red2js/blob/master/.clj-kondo/hooks/loopr.clj). Apparently libraries can [export clj-kondo configs](https://github.com/clj-kondo/clj-kondo/blob/master/doc/config.md#exporting-and-importing-configuration), but unfortunately I don't have the time to wrap this up...

I was macroexpanding some of the test cases to get an idea of what loopr does, when I noticed this: ``` (loopr [sum 0] [x (int-array [1 2 3]) :via...

Currently I'm using `net.cgrand.xforms/for` for it, but feels like it has a bit more overhead than `loopr` would if it had support for those `for` sugary bits. A slightly changed...

I found a scenario where I'm getting a Nullpointer exception for a certain configuration. The following works: ```clojure (let [deps0 [{:provides #{:a}} {}]] (loopr [deps {}] [current-dep deps0 k (:provides...

The documented return value in the last example doesn't match the description and code, "[:early 5]" should be "[:final [:early 5]]" Thank you for this great macro!

sup! First of all, awesome library and I'm not judging anyone for their unorthodox control flow views. Second of all, there's a typo in the `loopr` docstring https://github.com/aphyr/dom-top/blob/375df6397c78559a18c376860af0475373af95cd/src/dom_top/core.clj#L728 It should...