Fork me on GitHub
#clara
<
2020-07-08
>
Matthew Pettis21:07:20

Can someone explain how this works to find ancestors?

Matthew Pettis21:07:35

(def custom-ancestors-fn {:precise-temperature-reading #{:temperature-reading}})

Matthew Pettis21:07:57

I get that a map can work in the function position, and will look up the value for a key given as argument, but I am struggling to see how this def works as a function to look up ancestors.