ABC words: Difference between revisions

→‎{{header|Raku}}: Add a Raku example
(rm disclaimer now that the task description is clearer)
(→‎{{header|Raku}}: Add a Raku example)
Line 267:
55 abc words found: aback, abacus, abc, ..., syllabic, tabernacle, tablecloth
</pre>
 
=={{header|Raku}}==
<lang perl6>put 'unixdict.txt'.IO.words».fc.grep({ (.index('a')//next) < (.index('b')//next) < (.index('c')//next) })\
.&{"{+$_} words:",$_.batch(11).join: "\n\t"};</lang>
{{out}}
<pre>55 words: aback abacus abc abdicate abduct abeyance abject abreact abscess abscissa abscissae
absence abstract abstracter abstractor adiabatic aerobacter aerobic albacore alberich albrecht algebraic
alphabetic ambiance ambuscade aminobenzoic anaerobic arabic athabascan auerbach diabetic diabolic drawback
fabric fabricate flashback halfback iambic lampblack leatherback metabolic nabisco paperback parabolic
playback prefabricate quarterback razorback roadblock sabbatical snapback strabismic syllabic tabernacle tablecloth</pre>
 
=={{header|Ring}}==
10,333

edits