System
public struct System<Atom: Hashable>
A logic System, defined by a collection of Clauses, that provides a mechanism for querying
to learn facts about the system.
-
Attempts to unify each term in
goalswith the known clauses in the system, callingonMatcheach time it succeeds to simultaneously unify allgoals.Declaration
Swift
public func enumerateMatches(goals: [Term<Atom>], onMatch: () throws -> ()) throws -
Attempts to unify
goalwith the known clauses in the system callingonMatcheach time it succeeds to unify.Declaration
Swift
public func enumerateMatches(goal: Term<Atom>, onMatch: () throws -> ()) throws
View on GitHub
System Struct Reference