Skip to content

leave off the "| r" in pureST #1

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

Merged
merged 2 commits into from
Sep 12, 2015
Merged

leave off the "| r" in pureST #1

merged 2 commits into from
Sep 12, 2015

Conversation

jbrownson
Copy link

Per discussion with paf31 in #purescript. This was written the old way to follow the lead of runPure, but now that we have empty row syntax runPure doesn't have to be written that way (see purescript-deprecated/purescript-eff#7) so let's write this type a bit more clearly.

I can't say I have a completely solid grasp on rank-n types or Eff/row types so I'm not certifying the correctness of this, just pushing the buttons based on my understanding of what was discussed in #purescript.

@jbrownson
Copy link
Author

The failed check should be due to the dependency on the linked pull request in purescript-eff.

@garyb
Copy link
Member

garyb commented Sep 5, 2015

Seems sensible, I guess this one is a breaking change? Even though it's perhaps how it should have been in the first place.

@paf31
Copy link
Contributor

paf31 commented Sep 5, 2015

I don't think this is breaking for the same reason as runPure.

@garyb
Copy link
Member

garyb commented Sep 5, 2015

Isn't it true that currently runST could be abused to eliminate any effects as long as there is an ST effect present though?

@garyb
Copy link
Member

garyb commented Sep 5, 2015

Oh, no, rank2, right.

paf31 added a commit that referenced this pull request Sep 12, 2015
leave off the "| r" in pureST
@paf31 paf31 merged commit 031ea9e into purescript:master Sep 12, 2015
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.

3 participants