-
Notifications
You must be signed in to change notification settings - Fork 300
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
Separate Result from Choice #3739
Conversation
Makes sense, I believe this will be a breaking change for How should we handle that, should In this case we would use the offset from one level the standard:
I believe Pinging @nojaf because he is using |
I would be ok with |
I see what you are trying to do here 😏 I "concede", I will work on releasing a new version of it this week. I just need to decide between |
I don't think that In fact, Fable.Core is more behaving like Up to now, we were "lucky" (because we avoided moving things around too much) that Fable.Core 2+, 3+, 4+ works with Fable upward version. I am preparing the changes for the next release of Fable, and I think this PR is green so we can merge. |
As far as my understanding goes |
Yes, I agree
Not exactly :) @MangelMaxime I have no preference on the npmjs org name. And perhaps using |
For example, we have https://github.com/fable-compiler/Fable/blob/main/src/fable-library/Async.ts which implements the
|
My goal is to move all of existing Fable NPM packages under the new organisation like that everything is centralised #fable-library. It also means that I give invite people in the |
@MangelMaxime I get that, I was just saying the package name difference can perhaps help when searching for it in npmjs, that's all. |
Ah yes got it, will think about it. |
Actually, could make sense as perhaps we need |
Thanks for explaining that one @ncave. I always assumed |
For Rust we're not currently publishing Just to make sure I understand all the use cases of publishing |
@MangelMaxime If you do decide to go with |
Yes for Rust and Python, I think right now it is too early to publish them on their respective dependency manager because they are not stable enough yet.
Yes there is this reason and another one. Currently, in Fable JavaScript (I don't know for others target) if you have the following architecture:
If you try to compare (using F# comparaison) an instance of types coming from I made a project to demonstrate this behaviour here: https://github.com/MangelMaxime/demo-why-using-fable-library-can-improve-equality This is for example what is driving this issue too #3737 |
@MangelMaxime Yes, well, that's because of the particular way structural equality is implemented for JavaScript right now. It relies on the object constructor function being the same. But that would only work if both packages reference the same Nonetheless, I got your point, thanks for elaborating. |
Result
andChoice
modules.