-
Notifications
You must be signed in to change notification settings - Fork 297
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
derive monad #1951
Labels
Comments
7 tasks
bors bot
pushed a commit
that referenced
this issue
Apr 23, 2020
…2477) There were (at least) two issues with the `delta_instance` derive handler: * It couldn't protect the names of the instances it generated, so they had to be ugly to avoid clashes. * It didn't deal well with deriving instances on function types, so `@[derive monad]` usually failed. This should fix both. The first is possible with recent(ish) additions to core. closes #1951 Co-authored-by: Rob Lewis <rob.y.lewis@gmail.com>
bors bot
pushed a commit
that referenced
this issue
Apr 24, 2020
…2477) There were (at least) two issues with the `delta_instance` derive handler: * It couldn't protect the names of the instances it generated, so they had to be ugly to avoid clashes. * It didn't deal well with deriving instances on function types, so `@[derive monad]` usually failed. This should fix both. The first is possible with recent(ish) additions to core. closes #1951 Co-authored-by: Rob Lewis <rob.y.lewis@gmail.com>
anrddh
pushed a commit
to anrddh/mathlib
that referenced
this issue
May 15, 2020
…eanprover-community#2477) There were (at least) two issues with the `delta_instance` derive handler: * It couldn't protect the names of the instances it generated, so they had to be ugly to avoid clashes. * It didn't deal well with deriving instances on function types, so `@[derive monad]` usually failed. This should fix both. The first is possible with recent(ish) additions to core. closes leanprover-community#1951 Co-authored-by: Rob Lewis <rob.y.lewis@gmail.com>
anrddh
pushed a commit
to anrddh/mathlib
that referenced
this issue
May 16, 2020
…eanprover-community#2477) There were (at least) two issues with the `delta_instance` derive handler: * It couldn't protect the names of the instances it generated, so they had to be ugly to avoid clashes. * It didn't deal well with deriving instances on function types, so `@[derive monad]` usually failed. This should fix both. The first is possible with recent(ish) additions to core. closes leanprover-community#1951 Co-authored-by: Rob Lewis <rob.y.lewis@gmail.com>
cipher1024
pushed a commit
to cipher1024/mathlib
that referenced
this issue
Mar 15, 2022
…eanprover-community#2477) There were (at least) two issues with the `delta_instance` derive handler: * It couldn't protect the names of the instances it generated, so they had to be ugly to avoid clashes. * It didn't deal well with deriving instances on function types, so `@[derive monad]` usually failed. This should fix both. The first is possible with recent(ish) additions to core. closes leanprover-community#1951 Co-authored-by: Rob Lewis <rob.y.lewis@gmail.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
In this code snippet
The derive handler assumes that I want the instance
monad (my_tactic a)
instead ofmonad my_tactic
The text was updated successfully, but these errors were encountered: