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 record instead of data for Σ #45

Merged
merged 1 commit into from Nov 9, 2016
Merged

Conversation

m0davis
Copy link
Contributor

@m0davis m0davis commented Nov 8, 2016

This makes it possible to use let to pattern-match on the components of the _,_ constructor. I hand-wrote the Quotable instance for Σ because deriveQuotable errors on the record-type version (and I didn't want to spend the time to figure out how to fix it).

@m0davis
Copy link
Contributor Author

m0davis commented Nov 8, 2016

Related post on the mailing list: https://lists.chalmers.se/pipermail/agda/2016/009104.html

@UlfNorell UlfNorell merged commit b228399 into UlfNorell:master Nov 9, 2016
@UlfNorell
Copy link
Owner

Thanks. I've been meaning to do this myself.

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