Skip to content

Conversation

@ktgw0316
Copy link
Contributor

As in previous section in the same chapter:

An astute reader may notice that it would be easy to generalize this
construction to any monoid, not just the string monoid. We would use
mappend inside compose and mempty inside identity (in place of + and
""). There really is no reason to limit ourselves to logging just strings.
A good library writer should be able to identify the bare minimum of
constraints that make the library work

@ktgw0316
Copy link
Contributor Author

@hmemcpy @drupol Could you also review this PR?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant