is => 'ro', isa => ResolvedPropositionSet, required => 1
);
-has outstanding_propositions => (
- is => 'ro', isa => ArrayRef[Proposition], required => 1
-);
-
has actions => (
is => 'ro', isa => ArrayRef[Action], required => 1
);
my $hyp = ref($self)->new(
scope => $self->scope,
resolved_propositions => DX::ResolvedPropositionSet->new_empty,
- outstanding_propositions => \@recheck,
actions => [],
action_applications => [],
action_policy => $ap,
sub with_resolution {
my ($self, $prop, $depends) = @_;
- my ($first, @rest) = @{$self->outstanding_propositions};
$self->but(
resolved_propositions => $self->resolved_propositions
->with_resolution_for(
$prop,
$depends,
),
- outstanding_propositions => \@rest,
);
}
my $hyp = DX::Hypothesis->new(
scope => $scope,
resolved_propositions => DX::ResolvedPropositionSet->new_empty,
- outstanding_propositions => $prop_seq->members,
actions => [],
action_applications => [],
action_policy => DX::ActionPolicy::Allow->new,