code-reviews

2019-08-26T17:26:17.060300Z

you could refactor to multiple functions that use trampoline to call the next - with that refactor you wouldn't need a ref either (effectively using continuation passing)

2019-08-26T17:27:13.061100Z

or even just cond-> instead of ifs to chain the updates now that I read more closely