blow away current trace calls since they were insufficiently thought through
Matt S Trout [Tue, 2 Aug 2016 18:38:43 +0000 (18:38 +0000)]
lib/DX/SearchProcess.pm
lib/DX/SearchState.pm
lib/DX/Step/Backtrack.pm
lib/DX/Step/EnterRecheck.pm

index cb50a2f..b66d350 100644 (file)
@@ -31,7 +31,6 @@ sub find_solution {
     $state = $state->with_one_step;
   }
   return undef unless $state;
-  trace 'search.solution.hyp' => $state->current_hypothesis;
   return $self->but(current_search_state => $state);
 }
 
index 4715606..78b7528 100644 (file)
@@ -58,7 +58,6 @@ sub force_backtrack {
   my ($self) = @_;
   my ($first_alt, @rest_alt) = @{$self->alternatives};
   return undef unless $first_alt;
-  trace 'search.backtrack.forced' => $first_alt->[0];
   return $self->but(
     next_step => DX::Step::Backtrack->new,
   )->with_one_step;
index 5fdfbc7..5d3c339 100644 (file)
@@ -8,7 +8,6 @@ sub apply_to {
   my ($self, $ss) = @_;
   my ($first_alt, @rest_alt) = @{$ss->alternatives};
   return $ss->but(next_step => $ss->on_exhaustion_step) unless $first_alt;
-  trace 'search.backtrack.rewind_to' => $first_alt->[1];
   return $ss->but(
     current_hypothesis => $first_alt->[0],
     alternatives => \@rest_alt,
index 4d48553..2b7ac56 100644 (file)
@@ -47,8 +47,6 @@ sub apply_to {
                     ? $self->but(proposition_list => \@rest)
                     : $self->on_completion_step);
 
-  trace 'step.recheck.hyp' => $hyp;
-
   my $ss = DX::SearchState->new(
     current_hypothesis => $hyp,
     alternatives => [],