A list with concatenation and an empty list forms a monoid.
用连接运算和空列表,一个列表结构就构成了幺半群。
In abstract algebra, a monoid captures the idea of combining things associatively while keeping a neutral element, which makes it useful in programming and category theory.
在抽象代数中,幺半群概括了“可结合地合并事物并保留一个单位元”的思想,因此在编程与范畴论中很有用。