Signature

Arguments

Values

rule-name

A symbol.

Description

Defines a rule named
rule-name
(which must be distinct from any other rule name, context name or KnowledgeWorks class name). If
direction
is
:forward
a forward chaining rule is defined, if
:backward
a backward chaining rule is defined. If
doc-string
is given, then it should be a string. The value can be retrieved by calling the function
documentation
with doc-type
rule
.