Skip to content

Conversation

@kl0tl
Copy link
Member

@kl0tl kl0tl commented Jul 19, 2020

This allows terms of type ST r a and STRef r a to be coerced to type ST r b and STRef r 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 ST computations and mutable references for instance.

I couldn’t think of a case where a phantom roled region is an issue but in doubt I preferred to keep it nominal.

@hdgarrood
Copy link
Contributor

Included in #37

@hdgarrood hdgarrood closed this Oct 22, 2020
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.

2 participants