It is well-known that the group cohomology groups of a group $G$ are isomorphic to the cohomology groups of the classifying space $|G|$ of (the nerve of the delooping) of $G$.
More generally, we have also classifying spaces for monoids, and hence we may analogously define the monoid cohomology groups of a monoid $A$ to be the cohomology groups of $|A|$.
Questions:
- Has this notion been studied before?
- How does it relate to group cohomology and group completion? More precisely, given a monoid $A$, how are the the co/homology groups of $|A|$ and $|A^{\mathrm{grp}}|$ related?