Solution

class Solution

A solution of a goal: yes, no or halt (an error), with the values a yes solution binds to the variables of the goal

Properties

Link copied to clipboard

The values a yes solution binds to the variables of the goal, by their names

Link copied to clipboard

The error of a halt solution

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

The goal, as a yes solution solves it (its variables bound), otherwise as it was asked, as Prolog text

Link copied to clipboard

What the solution is: yes, no or halt

Link copied to clipboard

The variables of the goal a yes solution binds (an array in JavaScript)

Link copied to clipboard

The variables of the goal a yes solution binds

Functions

Link copied to clipboard
fun text(name: String): String?

The value a yes solution binds to the variable of the goal named name, as Prolog text

Link copied to clipboard
open override fun toString(): String
Link copied to clipboard
fun value(name: String): Value?

The value a yes solution binds to the variable of the goal named name