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

add MonadThrow MonadError instances for Effect #112

Merged
merged 3 commits into from
Feb 3, 2019

Conversation

safareli
Copy link
Contributor

No description provided.

Copy link
Contributor

@hdgarrood hdgarrood left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, although it might be worth checking that adding the exceptions dependency doesn't have any unintended consequences. @garyb, any thoughts on that?

@garyb
Copy link
Member

garyb commented Jan 31, 2019

Seems ok to me - I think it's only be a problem if we had a circular dependency. Technically it maybe should be a breaking change, but realistically this wouldn't be the first time we added a core library dependency to another core library and didn't call it breaking, especially when it's super commonly already going to be there anyway.

@safareli
Copy link
Contributor Author

Great! (feel free to do squish merge, I was lazy and used web editor of github for this pr, hence this many commits :D)

@hdgarrood
Copy link
Contributor

Wait, I thought our policy was that a dependency change is only considered breaking if a dependency is being removed (because you can pull things in via transitive dependencies and not mention them explicitly in your local bower.json file)?

@garyb
Copy link
Member

garyb commented Jan 31, 2019

Additions can hypothetically break too:

  • A depends on B and C
  • B depends on D v1
  • C adds a dependency for D v2 and only minor-bumps
  • Installing the most up to date dependencies for A would now fail

@hdgarrood
Copy link
Contributor

Aren't solvers supposed to deal with situations like that - in this case, by taking the older version of C? (Admittedly Bower doesn't really have one...)

@garyb
Copy link
Member

garyb commented Jan 31, 2019

Yeah I guess so, but also yeah Bower doesn't solve 😉

@safareli
Copy link
Contributor Author

safareli commented Feb 1, 2019

in this case tho, ps-exceptions v4 is published with [email protected] version so older version can't be used anyway (I guess)

@hdgarrood hdgarrood merged commit 961f403 into purescript:master Feb 3, 2019
@safareli safareli deleted the patch-1 branch February 4, 2019 07:29
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