Monoids in Python - PyMonad
Monoid - both a function and a data type.
Properties
-
Closure: Takes X data type as input ==> Output is also X data type.
-
Identity: Has a specific type
-
Associativity: Group as you like.
Quick Introduction(~10 Min)
https://www.youtube.com/watch?v=50qhv8C3s9I
Short detailed Version(~30 Min)
https://www.youtube.com/watch?v=WNwV3wR4JjA