You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Apr 24, 2021. It is now read-only.
- The let%try and others ended up swallowing lots of important production errors (surprise... =/)
- The transforms in their current state don't give an error message location (partially due to usage of metaquot. Meta yak shaving).
- This makes the build depend on OMP, ppxlib and others. Giant deps, giant build times.
- But seriously, if even Cristiano has problem writing proper option and result handling in production because of `let%` stuff then what chance do most others have.
Anyway I'm gonna remove it because this seems to be a blocker for cleaning up the codebase's other parts...
First step is to build the same monad ppx as an executable; I'll directly run this through the source files using `unmonad.sh`, print them back to Reason syntax, and manually clean up some stuff.
See #86, which is converted by the script. Using the ppx script itself ensures that we don't cause conversion bugs.
After this PR, I'm thinking of directly making the ppx transform the `let%` stuff into regular switch statements, and print out those.
0 commit comments