Skip to content
This repository was archived by the owner on Aug 4, 2023. It is now read-only.

Add roles declarations to allow safe coercions #4

Merged

Conversation

kl0tl
Copy link
Contributor

@kl0tl kl0tl commented Sep 12, 2020

This allows terms of type Promise a to be coerced to type Promise 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 promises for instance.

@kl0tl kl0tl force-pushed the roles-declarations branch from ab353fe to 44ad3ac Compare December 8, 2020 21:18
@thomashoneyman thomashoneyman added the purs-0.14 A reminder to address this issue or merge this PR before we release PureScript v0.14.0 label Dec 10, 2020
@thomashoneyman thomashoneyman merged commit c0ecf9f into purescript-deprecated:master Dec 11, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
purs-0.14 A reminder to address this issue or merge this PR before we release PureScript v0.14.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants