Fork me on GitHub
#braveandtrue
<
2016-02-17
>
echristopherson02:02:58

@joshua.d.horwitz I guess there are probably multiple strategies. I would look at the innermost parentheses and work my way out from there. Eventually you come to recognize things more quickly.

echristopherson02:02:23

You know what (assoc new-map key val) does?

echristopherson02:02:21

Also, experiment and learn what the indentation patterns are for various forms. Note that that assoc form and the new-map below it are lined up, so you know they're elements in the same footing. Specifically there are the if-true and if-false parts of the if.

echristopherson02:02:15

The maps are indebted the same as the fn, so you know they're all arguments to reduce.