Erlang Functions
When programming Erlang, you should think like you are writing an English essay. In Erlang, functions are not very different to what a traditional programming language offers, but they are written very differently in Erlang. To declare a function in the Erlang Repl, you will have to use the fun keyword. Name = fun(X) -> X. The above code will store the the declaration of a function called Name and would receive an argument called X....