by Fraterkes · 1y ago · 0 comments
It's not a necessary relation, those things are pretty much independent. Except in that pattern matching and function composition complement each other very well.
It might be, but it is not an essential feature. Functional programming is the practice of using pure functions as the primary form of computation and composition. Whether one adds types to this is as relevant as adding types to any other paradigm (imperative, oop, logical, functional, etc)