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

Give an explicit definition for (<>) in LogStr's Semigroup instance #155

Merged
merged 1 commit into from Feb 5, 2018
Merged

Conversation

RyanGlScott
Copy link
Contributor

In base-4.11 (bundled with GHC 8.4.1), there is no longer a default implementation for (<>) in terms of Monoid (after Semigroup became a superclass of Monoid), so using (<>) results in a runtime error. This fixes the issue by simply giving an implementation for (<>) that matches mappend.

@kazu-yamamoto kazu-yamamoto merged commit c4dba2c into kazu-yamamoto:master Feb 5, 2018
kazu-yamamoto added a commit that referenced this pull request Feb 5, 2018
@kazu-yamamoto
Copy link
Owner

Merged and released.
Thank you for your contribution!

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.

None yet

2 participants