Fork me on GitHub
#specter
<
2018-01-25
>
nathanmarz01:01:31

@dadair yes, that's right

nathanmarz01:01:21

would add a vtraverse as well

nathanmarz01:01:27

will probably do those for next release

nathanmarz01:01:32

but for now you can collect the path just like you're doing in nodes-with-refs and then parse it out of item when doing the traverse

dadair01:01:40

Ok thank you I’ll give that a try

schmee23:01:59

is there a more specter-y way to write (view (juxt :color :symbol))?

nathanmarz23:01:09

@schmee looks good to me

schmee23:01:58

is there something I can use in place of ??? to make this true?

user=> stuff
[{:color :red :symbol :moon} {:color :green :symbol :gear} {:color :yellow :symbol :star} {:color :blue :symbol :planet}]
user=> (= (select (??? :color :symbol) stuff) [[:red :green :yellow :blue] [:moon :gear :star :planet]])

schmee23:01:51

feels like a multi-select