g โ f patterns - (aka From Gof to lambda)
Pattern | Lambda |
---|---|
Command | Functions |
Strategy | Functions |
Template | Consumer |
Observer | Consumer |
Decorator | Functions composition |
Chain of Resposibility | Stream of functions |
Interpreter | Map of functions |
Visitor | Pattern matching + Functions |
by @mariofusco