Rosetta Code/Count examples: Difference between revisions

→‎{{header|Raku}}: Marked omitted tasks; count shared entries (C / C++)
(→‎{{header|Raku}}: Marked omitted tasks; count shared entries (C / C++))
Line 2,367:
# Deal with 3 part headers - {{header|F_Sharp|F#}}, {{header|C_Sharp|C#}}, etc.
$lc.contains("==\{\{header|{@top-n[$_].lc}|") or
# Icon and Unicon are thiertheir own special flowers
$lc.contains("}}_and_\{\{header|{@top-n[$_].lc}}}==")) ??or
# Language1 / Language2 for shared entries (@places[$_])e.g. !!C ' '/ C++)
$lc.contains(rx/'}}''_'*'/''_'*'{{header|'$(@top-n[$_].lc)'}}=='/)) ??
(@places[$_]) !!
# Check if the task was omitted
$lc.contains("\{\{omit_from|{@top-n[$_].lc}") ?? 'O' !!
# The task is neither done or omitted
' '
} ).join;
print clear, 1 + $++, ' ', %cat{$cat}, ' ', .<title>;
125

edits