ELM : Transliterate string
1
I'm totally new in ELM. Now i trying to convert some string (that i get from json) to russian translation. For example italy -> Италия. countryConvert : String -> String countriesTransliterationMap country = case country of italy -> "Италия" canada -> "Канада" But now i receive Any value with this shape will be handled by a previous pattern, so it should be removed. Whats wrong with my code?
functional-programming elm
share | improve this question
asked Nov 11 at 4:07
Alex Straza
34 5