Now our applyLog can work for any monoid. Bây giờ applyLog của ta có thể hoạt động được với bất kì monoid nào.
It turns out that that's not the only way for numbers to be monoids. Hóa ra rằng đây không phải là cách duy nhất để các số trở thành monoid.
Notice that monoids don't require that a `mappend` b be equal to b `mappend` a. Lưu ý rằng các monoid không yêu cầu rằng a `mappend` b phải bằng b `mappend` a.
Like before, we’ll use a list of strings as our monoid. Cũng giống như trước đây, ta sẽ dùng danh sách những chuỗi kí tự làm monoid.
Like before, we’ll use a list of strings as our monoid. Cũng giống như trước đây, ta sẽ dùng danh sách những chuỗi kí tự làm monoid.
When making a type an instance of Monoid, it suffices to just implement mempty and mappend. Khi tạo ra một thực thể của Monoid, chỉ cần tạo lập mempty và mappend là đủ.
When making a type an instance of Monoid, it suffices to just implement mempty and mappend. Khi tạo ra một thực thể của Monoid, chỉ cần tạo lập mempty và mappend là đủ.
The outer monoid value "bbb" comes first and then to it "aaa" is appended. Giá trị monoid ở ngoài, "bbb" được xử lý trước và tiếp theo "aaa" được nối vào.
The outer monoid value "bbb" comes first and then to it "aaa" is appended. Giá trị monoid ở ngoài, "bbb" được xử lý trước và tiếp theo "aaa" được nối vào.
Grothendieck group of a commutative monoid Nhóm Grothendieck của một monoid Abel