Don't explain Coercible as a class with compiler-generated instances#3999
Merged
kl0tl merged 5 commits intopurescript:masterfrom Feb 17, 2021
Merged
Don't explain Coercible as a class with compiler-generated instances#3999kl0tl merged 5 commits intopurescript:masterfrom
kl0tl merged 5 commits intopurescript:masterfrom
Conversation
rhendric
reviewed
Jan 28, 2021
rhendric
approved these changes
Feb 2, 2021
thomashoneyman
approved these changes
Feb 6, 2021
hdgarrood
reviewed
Feb 6, 2021
rhendric
reviewed
Feb 14, 2021
bd923eb to
5ff7625
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The documentation we have for Coercible seems to be based on the draft of the Safe Zero-cost Coercions for Haskell paper but its latest revision moves away from compiler-generated instances. This is explained in the section 7.2 Prior version of Coercible of the paper.
This pull request also adds links to the
safe-coercepackage on Pursuit and to the documentation about roles I’m proposing to add to the language reference in purescript/documentation#371.Rendered documentation