Could you give an example? I'm missing what you mean by "the java Monoid class create a Class => Monoid mapping"