-
Notifications
You must be signed in to change notification settings - Fork 312
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 safe-coerce to packages.json and as dependency of newtype #787
Conversation
"unsafe-coerce" | ||
], | ||
"repo": "https://github.com/purescript/purescript-safe-coerce.git", | ||
"version": "master" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is "master", because that's how it exists in purescript.dhall
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That's correct, thank you!
CI is failing because we need to drop the |
Oh, I can totally do that @thomashoneyman. |
Well, ok, I've done that, but it's not that simple: |
Hmmm, but that doesn't work very well either: it seems it's no longer legal to I'm guessing the right solution is to have the compiler no longer generate the methods, which will make the old-style |
@fsoikin See these PRs / issues:
Also, this PR is basically duplicating the work I was doing in #786. I didn't have the time today to finish working on it. Lastly, I don't think we should update all packages in the package set. Rather, I think we should focus on just the core, contrib, web, and node libraries for the time being. I'd prefer to leave packages from other repos not yet updated until we are finished making our changes. |
Well, ok, it seems I've been too rash again. I'll close this out. |
Although I must say that the compiler is definitely still trying to implement the |
I don’t think so, we do still need to do something about that. |
I don't want to discourage you from contributing in the future. Thanks for helping us out. In this particular situation, I wasn't able to finish what I had started, nor give better guidance. I posted my comment above as a quick-and-dirty explanation for some of the things going on. |
@JordanMartinez I do not feel discouraged from contributing (in fact, I went ahead and contributed purescript/purescript#3975 right away). Normally I hesitate to contribute because I have a very limited insight into what's going on, which problems are known and which are not, and which are already being worked on. One could argue that it's better to just contribute, and if I miss the mark - oh well, just close the PR. But that is also not ideal, because it wastes the maintainers' time on reviewing and closing spurious PRs. So I try to make sure what I contribute is actually useful. In this particular case, I got an impression from your comment that this particular problem is already being worked on, and I'm just duplicating the effort and stealing valuable time. So I opted to stop the process ASAP to free up resources. If this impression is mistaken, I would be very happy to reopen this PR and bring it to completion. As far as I understand, the plan should be:
Let me know, I'd be happy to help out. |
Ok, good, I'm glad that wasn't how it came off. And yeah, I saw that you fixed the code in
Actually, this was already done in #788. The CI works differently on this branch than If you want to keep contributing, perhaps you can help with |
safe-coerce
is present insrc/groups/purescript.dhall
, but not inpackages.json
.newtype
depends onsafe-coerce
, but this wasn't reflected inpurescript.dhall
, nor inpackages.json
I bumped into this when working on preparing my own project for 0.14.
I asked a question about this on the forum and @hdgarrood suggested that a PR would be useful. So here I am.