-
Notifications
You must be signed in to change notification settings - Fork 47
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
Duplicate Monad List instances #121
Comments
My understanding was that One confusion is that |
I would prefer dropping |
"Two instances" will add coherence problems if you mix the two abstractions. OTOH, I'm no universe expert but "Two instances" won't add universe inconsistencies (it will add other problems), but |
One is in https://github.com/coq-community/coq-ext-lib/blob/master/theories/Data/Monads/ListMonad.v and one is in https://github.com/coq-community/coq-ext-lib/blob/master/theories/Data/List.v#L1-L123, and they're differently polymorphic.
(We noticed while wondering with @Janno whether ext-lib suffers from https://gitlab.mpi-sws.org/iris/stdpp/-/issues/80, and whether that causes MetaCoq/metacoq#580, but I'm not sure either way; at least
ListMonad.v
looks suspicious — and MetaCoq/metacoq#580 (comment) discusses the universe problem).The text was updated successfully, but these errors were encountered: