1) Great Performance
2) No run-time exception
4) Friendly error message
5) Ability to write functional code
This is a very simple example to get country code of any location. I have taken help from Elm tutorial.
Every Elm program is divided into 3 parts
For complete source code, go to A Simple Application using Elm.