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

Add roles declarations to allow safe coercions #20

Merged
merged 1 commit into from
Dec 5, 2020

Conversation

kl0tl
Copy link
Contributor

@kl0tl kl0tl commented Sep 12, 2020

This allows terms of type AVar a to be coerced to type AVar b when Coercible a b holds, hence allowing the zero cost coerce instead of map wrap and map unwrap to introduce and eliminate newtypes under asynchronous variables for instance.

@JordanMartinez
Copy link
Contributor

JordanMartinez commented Dec 5, 2020

CI is failing because this hasn't been rebased on top of main

@thomashoneyman thomashoneyman merged commit 412c88a into purescript-contrib:main Dec 5, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

3 participants