Fork me on GitHub
#specter
<
2016-05-16
>
mac16:05:29

Is it bad form to ask a question here which is a duplicate of an issue submitted to github?

nathanmarz17:05:03

@mac: just answered it on github

mac17:05:07

@nathanmarz: Thanks a lot.

mac17:05:29

Took the liberty of posting a followup 🙂

mac18:05:33

@nathanmarz: I must be slow today - or in general. Why will (walker keyword?) pickup every keyword while (walker :c) only returns the top level map if :c occurs in it, even if the top level map contains children maps with :c as key?

nathanmarz18:05:14

The argument to walker is a predicate function

nathanmarz18:05:29

So since the top-level map returns truthy when ":c" is run on it

nathanmarz18:05:31

It stops there

nathanmarz18:05:43

walker walks the entire structure, and stops on any path once its predicate function matches

mac18:05:15

@nathanmarz: >Trying to wrap my head around this

mac18:05:17

@nathanmarz: Got it. Had to mess a bit with some different predicates, but it sunk in now 🙂