Fork me on GitHub
#code-reviews
<
2019-08-27
>
mping12:08:49

@noisesmith I ended up writing with let,

let [a results
     a (if ... (point-query a) a
     a ...]

mping12:08:00

will take a look into trampoline, though

mping12:08:33

I'm trying to convert a bunch of imperative, ref-set code to a more purely functional one

noisesmith16:08:59

@mping that makes sense - check out cond-> as well - it is designed for exactly your use case of a series of conditional transforms of some input

noisesmith16:08:29

I thought trampoline at first because I thought your reason for using a ref was that complex, it looks like it actually isn't