ABC words: Difference between revisions
Content added Content deleted
(rm disclaimer now that the task description is clearer) |
Thundergnat (talk | contribs) (→{{header|Raku}}: Add a Raku example) |
||
Line 267: | Line 267: | ||
55 abc words found: aback, abacus, abc, ..., syllabic, tabernacle, tablecloth |
55 abc words found: aback, abacus, abc, ..., syllabic, tabernacle, tablecloth |
||
</pre> |
</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}}== |
=={{header|Ring}}== |