Daniel Ruoso wrote:

my $concrete_value = max $junc_value.grep: { $^score < 21 };

In the general case, both the junction and the domain may be infinite:

my @domain = -Inf .. 3;
my $junc = any -4 .. Inf;

my @values = @domain |==| $junc;
say @values.perl
"[-4..3]"


Handling all the variations around this (including compound junctions)
will be quite tricky to implement, even if we did have introspection for
junctions. Certainly not stuff I'd want in typical user-code.


Reply via email to