no problema, using morse_codes varibale works fine!
is declared as a module attribute:
defmodule MorseCode do
def decode(code) do
ummm, i tried your solution without success, i'm always getting:
solution:61: undefined function morse_code/0
this is one of the best solution for me
ty! I tought preloaded was initial solution. My mistake sorry :$
You have no need for the preloaded code here, which is giving you all of your issues
It accepts only first class functions.