JackieNim f597fc1b07
fix: Fixed pages showing up in wrong language (#1752)
* Fix languages

* Missed change for version number

* Add language field for presentation

* Revert change in README for double buffer

Co-authored-by: Jackie Nim <=>
2021-05-19 19:49:05 +03:00
..

layout, title, folder, permalink, categories, language, tags
layout title folder permalink categories language tags
pattern Combinator combinator /patterns/combinator/ Idiom en
Reactive

Also known as

Composition pattern

Intent

The functional pattern representing a style of organizing libraries centered around the idea of combining functions.
Putting it simply, there is some type T, some functions for constructing "primitive" values of type T, and some "combinators" which can combine values of type T in various ways to build up more complex values of type T.

Class diagram

alt text

Applicability

Use the combinator pattern when:

  • You are able to create a more complex value from more plain values but having the same type(a combination of them)

Real world examples

  • java.util.function.Function#compose
  • java.util.function.Function#andThen

Credits