-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Open
Labels
A-coercionsProposals relating to coercions.Proposals relating to coercions.T-langRelevant to the language team, which will review and decide on the RFC.Relevant to the language team, which will review and decide on the RFC.postponedRFCs that have been postponed and may be revisited at a later time.RFCs that have been postponed and may be revisited at a later time.
Description
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
Metadata
Metadata
Assignees
Labels
A-coercionsProposals relating to coercions.Proposals relating to coercions.T-langRelevant to the language team, which will review and decide on the RFC.Relevant to the language team, which will review and decide on the RFC.postponedRFCs that have been postponed and may be revisited at a later time.RFCs that have been postponed and may be revisited at a later time.