I have
Thread[Alphabet[] -> morseAlphabet[]]
But I don't get morse code for each letter, instead:
{"a" -> morseAlphabet[], "b" -> morseAlphabet[],
"c" -> morseAlphabet[], "d" -> morseAlphabet[],
"e" -> morseAlphabet[], "f" -> morseAlphabet[],
"g" -> morseAlphabet[], "h" -> morseAlphabet[],
"i" -> morseAlphabet[], "j" -> morseAlphabet[],
"k" -> morseAlphabet[], "l" -> morseAlphabet[],
"m" -> morseAlphabet[], "n" -> morseAlphabet[],
"o" -> morseAlphabet[], "p" -> morseAlphabet[],
"q" -> morseAlphabet[], "r" -> morseAlphabet[],
"s" -> morseAlphabet[], "t" -> morseAlphabet[],
"u" -> morseAlphabet[], "v" -> morseAlphabet[],
"w" -> morseAlphabet[], "x" -> morseAlphabet[],
"y" -> morseAlphabet[], "z" -> morseAlphabet[]}
So yes, I am a learner. I imagine I am not indexing right. Can someone nudge me in the right direction?