-
Notifications
You must be signed in to change notification settings - Fork 87
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
Investigate removing dependency on result
#274
Comments
I imagine we could bump the minimal version to 4.03 and get rid of |
I thought Bucklescript still targeted 4.02.3 for the moment? |
Oh, didn't they release their version targetting 4.06? I'm not following closely… |
They apparently are supporting both for the moment; BS 7 is apparently in beta and will target only 4.06. I'm not clear on how long it will be until BS 5 is considered deprecated. |
In any case it's a bit of a moot question since they don't want to use containers, but rather Belt/tablecloth/… right? |
My 2cents as a user of both Containers and BuckleScript:
There are still some work that needs to be done by the community, but all in all I think you should feel free to drop OCaml 4.02 support. |
@osener thanks for the feedback. |
Looking at my changes again, I see that I kept a lot of the pretty printing functions without having the same bundle size problems I had with Tablecloth (it's been a while). The rules of BuckleScript's dead code elimination is a bit opaque to me, so I mostly do it by trial and error (maybe it was harder with Tablecloth because it uses a single ml file?). I also remember that I had trouble getting BuckleScript to compile Containers code that defined non-labelled interfaces over labelled definitions, so I deleted a lot of code and settled on Regarding |
@c-cube do you use cppo for conditional compilation? |
No, I removed cppo a while ago in favor of dune-driven code generation. It makes development more pleasant since I can use merlin. |
Is there really good reason to keep this compatibility module now that OCaml 4.03 is 6 (soon 7) versions ago.
The
result
package doesn't play well with theResult
module shipped with 4.08 (see janestreet/result#8). The fact thatcontainer
usesresult
means users ofcontainer
(even transitively) have to useStdlib.Result
to access theResult
module from the standard library.The text was updated successfully, but these errors were encountered: