State name puzzle: Difference between revisions
Content added Content deleted
(→{{header|jq}}: faster) |
m (→{{header|jq}}: fix typo) |
||
Line 912:
# Input: an array of strings
# Output: a dictionary with key:
def dictionary:
reduce .[] as $s ( {}; . + { ($s|normalize|implode): $s });
|