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

RFC: Coercible and HasPrefix for Zero Cost Coercions #270

Open
rust-highfive opened this Issue Sep 24, 2014 · 2 comments

Comments

Projects
None yet
4 participants
@rust-highfive
Copy link

rust-highfive commented Sep 24, 2014

This is largely based on (with lots of copied text) @glaebhoerl's proposal in rust-lang/rust#9912, but with a few changes:

  • I formalized the idea of "contexts" by using GHC's roles.
  • I used this role system to include user-defined pointers and data structures.
  • I dropped contravariance for simplicity. This may have been a bad idea, but it's unclear how useful contravariance is.

Tracking issue for postponed PR #91

@glaebhoerl

This comment has been minimized.

Copy link
Contributor

glaebhoerl commented Dec 8, 2015

cc #223

@glaebhoerl

This comment has been minimized.

Copy link
Contributor

glaebhoerl commented Dec 8, 2015

cc #1387

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.