Fork me on GitHub
#specter
<
2016-04-25
>
tcoupland16:04:34

(select [:workflow ALL LAST keyword? #(= :inc %)]
          {:workflow [[:in :inc]
                      [:inc :dbl]
                      [:dbl :div]
                      [:div [enough? :out :inc]]]}) => [:inc]

tcoupland16:04:03

to my mind i shouldn't have to wrap the last element in the selector with a function, i should be able to just use ':inc'

tcoupland16:04:22

but if i do that i just be nil's

tcoupland16:04:30

wld be interested to know why! simple_smile