Pattern Matching is FP's Polymorphism Affordance
In this post, I discussed what is affordance, why pattern matching is FP’s polymorphism affordance, and thus FP and OOP are compatible.
https://dsdshcym.github.io/clipping/2019/06/06/pattern-matching-is-fp’s-polymorphism-affordance/
Read next How I deploy (Phoenix apps)