1
1
mirror of https://github.com/thma/LtuPatternFactory.git synced 2024-12-03 03:55:08 +03:00

Monoid -> Composite

This commit is contained in:
thma 2018-10-09 21:49:25 +02:00
parent d032c720e2
commit 752cfd7f55

View File

@ -275,7 +275,14 @@ There are several predefined Monads available in the Haskell curated libraries a
### Blockchain as Monad
## Monoid -- find Pattern
## Monoid -> Composite
>In software engineering, the composite pattern is a partitioning design pattern. The composite pattern describes a group of objects that is treated the same way as a single instance of the same type of object. The intent of a composite is to "compose" objects into tree structures to represent part-whole hierarchies. Implementing the composite pattern lets clients treat individual objects and compositions uniformly.
> (Quoted from [Wikipedia](https://en.wikipedia.org/wiki/Composite_pattern))
http://blog.ploeh.dk/2018/03/12/composite-as-a-monoid/
-