Find words which contain the most consonants: Difference between revisions

m
→‎{{header|Wren}}: Changed to Wren S/H
(add RPL)
m (→‎{{header|Wren}}: Changed to Wren S/H)
 
(One intermediate revision by the same user not shown)
Line 4,207:
=={{header|Wren}}==
{{libheader|Wren-fmt}}
<syntaxhighlight lang="wren">import "io" for File
{{libheader|Wren-seq}}
<syntaxhighlight lang="ecmascript">import "io./fmt" for FileFmt
import "/fmt" for Fmt
import "/seq" for Lst
 
var wordList = "unixdict.txt" // local copy
Line 4,244 ⟶ 4,242:
var s = (count == 1) ? "" : "s"
System.print("%(count) word%(s) found with %(i) unique consonants:")
for (chunk in Lst.chunks(wordGroups[i], 5)) Fmt.printtprint("$-14s", chunkwordGroups[i], 5)
System.print()
}
9,482

edits