Grothendieck group of a commutative monoid Nhóm Grothendieck của một monoid Abel
Sometimes we just want some monoid value to be included at some particular point. Đôi khi ta chỉ muốn giá trị monoid nào đó được kèm theo tại một điểm nhất định.
Sometimes we just want some monoid value to be included at some particular point. Đôi khi ta chỉ muốn giá trị monoid nào đó được kèm theo tại một điểm nhất định.
Yes, lists are monoids! Đúng vậy, danh sách là monoid!
Oh, by the way, lists are Monoids too! Đúng vậy, danh sách là monoid!
It's important to note that in the Monoid instance for Ordering, x `mappend` y doesn't equal y `mappend` x. Cần lưu ý rằng trong thực thể Monoid đối với Ordering, x `mappend` y không bằng y `mappend` x.
It's important to note that in the Monoid instance for Ordering, x `mappend` y doesn't equal y `mappend` x. Cần lưu ý rằng trong thực thể Monoid đối với Ordering, x `mappend` y không bằng y `mappend` x.
To attach a monoid to a value, we just need to put them together in a tuple. Để gắn một monoid vào với một giá trị, ta chỉ việc đặt chúng cùng vào trong một bộ.
To attach a monoid to a value, we just need to put them together in a tuple. Để gắn một monoid vào với một giá trị, ta chỉ việc đặt chúng cùng vào trong một bộ.
We present y as the new result and use mappend to combine the old monoid value with the new one. Ta biểu diễn y là kết quả mới và dùng mappend để kết hợp giá trị monoid cũ với cái mới.