package DX::Role::Fact;

use Moo::Role;

has required_action => (is => 'ro', predicate => 1);

sub but { ref($_[0])->new(%{$_[0]}, @_[1..$#_]) }

1;
