Skip to content

Add roles declarations to allow safe coercions #9

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

Merged
merged 1 commit into from
Nov 18, 2020

Conversation

kl0tl
Copy link
Member

@kl0tl kl0tl commented Sep 12, 2020

This allows terms of type Exists f to be coerced to type Effect g when Coercible f g holds, hence allowing the zero cost coerce instead of runExists (wrap >>> mkExists) and runExists (unwrap >>> mkExists) to introduce and eliminate newtypes with an existentially quantified parameter.

@JordanMartinez
Copy link
Contributor

@kl0tl Looks like CI is failing here, too, because CI isn't using the v0.14.0-rc3 tag. Not sure why, but could you try rebasing your commits on top of master?

@kl0tl kl0tl force-pushed the roles-declarations branch from 172c454 to 2eb6922 Compare November 18, 2020 08:51
@JordanMartinez JordanMartinez merged commit 6f89e51 into purescript:master Nov 18, 2020
@JordanMartinez
Copy link
Contributor

Thanks!

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.

3 participants