clara

http://www.clara-rules.org/
Matthew Pettis 2020-07-08T21:47:38.200900Z

Regarding fact-type customization, from here: https://github.com/cerner/clara-examples/blob/master/src/main/clojure/clara/examples/fact_type_options.clj

Matthew Pettis 2020-07-08T21:49:20.201400Z

Can someone explain how this works to find ancestors?

Matthew Pettis 2020-07-08T21:49:35.201600Z

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

Matthew Pettis 2020-07-08T21:50:57.202700Z

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.