-
Notifications
You must be signed in to change notification settings - Fork 21
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
schedSelectClock should only use a Semigroup #42
Comments
We support GHC >= 8, so I think no conditional imports are needed. |
So I had a go at this - and the following compiles. Have I understood what you were asking for in the issue?
|
Yes, that's the idea! Feel free to apply this to all other schedules with a |
I've managed to get all but one of the Schedules onto Semigroups and compile. My only problem is in I'm happy to keep trying with |
Ah, the |
So please do send the PR with everything you have so far :) |
Ah I thought that might be the case - glad that I didn't spend hours trying to refactor something I couldn't 😂 |
With GHC 8.4,
Semigroup
s become more of a thing, so it's time to relax the type signature ofschedSelectClock
to requiringcl
only to be aSemigroup
.The text was updated successfully, but these errors were encountered: