Rule

io.github.kelvindev15.prolog.core.Struct.Rule
See theRule companion trait
object Rule

Attributes

Companion
trait
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
Rule.type

Members list

Value members

Concrete methods

def apply(head: Struct, goals: Term*): Rule

Returns an instance of Rule.

Returns an instance of Rule.

Value parameters

goals

the goals of the rule.

head

the head of the rule.

Attributes