use Types::Standard qw(Maybe);
use DX::Step::Backtrack;
-use DX::Step::InvokeNextPredicate;
+use DX::Step::ConsiderProposition;
use DX::Step::MarkAsSolution;
use DX::Class;
propositions => $props,
(@{$props->members}
? (
- next_step => DX::Step::InvokeNextPredicate->new(
+ next_step => DX::Step::ConsiderProposition->new(
proposition => $props->members->[0],
),
is_solution_state => 0,
trace 'step.apply.new_hyp '.$self => $new_hyp;
my $ns = do {
if (my $prop = $ss->next_proposition($new_hyp)) {
- DX::Step::InvokeNextPredicate->new(
+ DX::Step::ConsiderProposition->new(
proposition => $prop
)
} else {