Composite as a monoid - a business rules example

added by DotNetKicks
1/7/2019 12:54:00 PM

1 Kicks, 427 Views

Composites are monoids. An example in C#, F#, and Haskell. Towards the end of the first decade of the third millennium, I'd been writing object-oriented code for about ten years, and I'd started to notice some patterns in my code.