Hello,
I'm working on porting underscore.js to clojurescript (at least the parts that aren't made redundant by clojurescript already). Mostly it's pretty straightforward, but for some of the trickier functions I'm having trouble finding an idiomatic translation.
Here's the throttle and bounce functions for example (alongside the original js):
I don't like how I've had to use so many atoms in throttle, but you can't set! a local var. Is there a better way to go about this? Maybe I should just have one map in an atom, for instance.
- Jason