Skip to content

Add roles declarations to forbid unsafe coercions #43

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

Closed
wants to merge 1 commit into from

Conversation

kl0tl
Copy link
Member

@kl0tl kl0tl commented Sep 12, 2020

This prevent terms of type Cardinality a to be coerced to type Cardinality b, unless Coercible a b holds. The reasoning being that types with the same representation should have the same cardinality but two arbitrary types may not.

@paluh paluh mentioned this pull request Oct 20, 2020
@JordanMartinez
Copy link
Contributor

This was merged in #44

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