Anagram generator: Difference between revisions
m
→{{header|jq}}: tidy
m (→{{header|jq}}: tidy) |
|||
Line 252:
# input: an array to be extended with an additional dictionary word.
# output: a stream of arrays with additional words
# selected from the characters in the string $letters.
# The input array should be in alphabetical order; if
# so will the output array.
def extend($letters; $dict):
if $letters == "" then .
Line 329 ⟶ 331:
["offer","xi"]
</pre>
=={{header|Julia}}==
|