NAME

Logic::Relational::Solution - Represents a single solution from a logic query.

SYNOPSIS

my $solution = $query->next;
if ($solution) {
    say $solution->value($wanted_var);
}

DESCRIPTION

Logic::Relational::Solution provides access to the variable bindings of a successful query execution.

METHODS

new

Constructor. Takes substitution.

substitution

Returns the substitution object for this solution.

value

Takes a variable and returns its reified (fully instantiated) value in this solution.