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

Use Defined for Instances instead of Qed #290

Closed
wants to merge 1 commit into from

Conversation

jbaum98
Copy link

@jbaum98 jbaum98 commented Sep 24, 2018

Using Qed for typeclass instances creates opaque identifiers that can't be evaluated during computation.

Compute 1 ?= 1.
     = (let (eqb, _) := nat_EqDec in eqb) 1 1

If we use Defined instead, the definitions are transparent and can be evaluated as expected.

Compute 1 ?= 1.
     = true

@andrew-appel
Copy link
Collaborator

Closing this pull request without merging, because it would be better submitted to the fcf repo, https://github.com/adampetcher/fcf

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