re-frame

https://github.com/Day8/re-frame/blob/master/docs/README.md https://github.com/Day8/re-frame/blob/master/docs/External-Resources.md
2020-07-17T01:39:29.001600Z

@wegi You'll often see code like this

(fn [db v]
  (cond-> db 
    (some-condition? v) (assoc :something :to-add) 
    (another-predicate> db)) (update :key some-fn)))

2020-07-17T01:39:49.001800Z

^^^ the real lesson here is that cond-> can be useful

wegi 2020-07-17T07:00:20.002500Z

Haha, true never used it before. 😄 will have a look at it.