Wordle comparison: Difference between revisions

Content added Content deleted
m (→‎{{header|Python}}: Slight reduction of main function, minor edits to comments.)
m (→‎{{header|Raku}}: maybe better but just for fun anyway)
Line 680: Line 680:
}
}
my @NFD = (trial,actual).map: { .value.NFD }
my @NFD = (trial,actual).map: { .value.NFD }
if [] @NFD».elems and [==] @NFD».first {
if [ne] @NFD and [==] @NFD».first {
@return[trial.key] = 'azure';
@return[trial.key] = 'azure';
$aSet{actual}:delete;
$aSet{actual}:delete;