Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Monoid now has Semigroup as superclass -> Monoid chapter needs reworking #42

Open
schmittlauch opened this issue Jan 28, 2020 · 0 comments

Comments

@schmittlauch
Copy link

Since base-4.18, Monoids are required to be Semigroups as well. This breaks all Monoid examples in the book.

We should probably introduce the Semigroup typeclass before monoids and move all mappend implementations to the (<>) function of Semigroup.

First of all: Are you interested in making this the repo where the book is kept up to date? Then I may do the changes later once I feel safe with using Haskell.

Have you ever contacted the author about keeping the book up to date or getting his sources?

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

No branches or pull requests

1 participant