A Functor is a design pattern that evolves from category theory in mathematics. Fundamentally it's a mapping between categories that preserves the structure of the original categories involved. It satisfies two laws: -
- Identity law:
- Composition law:
Well, now what?
You can navigate to more writings from here. Connect with me on LinkedIn for a chat.