Tutorial by Topics: elixir



Polymorphism is the provision of a single interface to entities of different types. Basically, it allows different data types respond to the same function. So, the same function shapes for different data types to accomplish the same behavior. Elixir language has protocols to implement polymorphism with a clean way.

Let's try to implement the basic higher orders functions like map and reduce using Elixir


Page 1 of 1