Polymorphism in Elixir – Mustafa Turan

By Erlang Central | Published: March 15, 2017

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


Follow Erlang Central:

Have an Erlang Question?

Reach out to the Erlang community