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

Rename the effect type effects for OCaml 5.3 keyword compatibility #912

Merged
merged 1 commit into from
Jan 28, 2025

Conversation

bacam
Copy link
Contributor

@bacam bacam commented Jan 27, 2025

No description provided.

Copy link

Test Results

   12 files  ±0     24 suites  ±0   0s ⏱️ ±0s
  752 tests ±0    752 ✅ ±0  0 💤 ±0  0 ❌ ±0 
2 496 runs  ±0  2 496 ✅ ±0  0 💤 ±0  0 ❌ ±0 

Results for commit 44c9f36. ± Comparison against base commit 49d5bed.

@Alasdair
Copy link
Collaborator

Hmm, maybe a good signal to finally remove this. Afaik this is a shim for older code that is relying on the previous effect system with effects added into the AST, rather than the effect inference.

@Alasdair
Copy link
Collaborator

Also looking at the OCaml 5.3 features and very happy to see

Re-introduced statistical memory profiling

That was something that was keeping me on 4.X!

@bacam
Copy link
Contributor Author

bacam commented Jan 28, 2025

I'll merge this for now. The shim also does the job of marking which expressions need to go in the monad, which we'd still need anyway.

@bacam bacam merged commit 3dfd2d2 into rems-project:sail2 Jan 28, 2025
3 checks passed
@bacam bacam deleted the ocaml-5.3-effect-keyword branch January 28, 2025 11:09
@Alasdair
Copy link
Collaborator

Yes, I wasn't thinking of removing it entirely just replacing it with a boolean directly

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.

2 participants