oracle-samples / clara-examples

Example Clara Rules
Apache License 2.0
89 stars 32 forks source link

Add examples demonstrating the use of the :fact-type-fn and :ancestor… #10

Closed WilliamParker closed 7 years ago

WilliamParker commented 7 years ago

…s-fn options

WilliamParker commented 7 years ago

Several people have asked about using fact types other than Clojure records on the Slack channel so I decided to add an example of such usage to clara-examples. We should probably add a mention of this functionality to clara-rules.org as well later.

Output of "lein run -m clara.examples" with these changes: https://gist.github.com/WilliamParker/929f81b423036759d92810f44aad3bea

rbrush commented 7 years ago

LGTM