EpilogJS
What
versus
How
 

saverule


saverule(sentence,ruleset) → sentence

The subroutine saverule takes a sentence and a ruleset as arguments. It checks whether the sentence is in the specified ruleset. If so, it does nothing; otherwise, it uses insertrule to add the sentence to the ruleset.




Comments and complaints to genesereth@stanford.edu.