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

11.3.1 #66

Merged
merged 1 commit into from
Oct 18, 2024
Merged

11.3.1 #66

merged 1 commit into from
Oct 18, 2024

Conversation

isaacl
Copy link
Member

@isaacl isaacl commented Oct 17, 2024

  • Remove extra definitions recently added to OpaqueX
  • Rename OpaqueInt -> RelaxedOpaqueInt
  • Rename OpaqueIntSafer -> RichOpaqueInt
  • Rename FunctionWrapper.apply -> exec The apply method is overloaded with TotalWrapper.apply, leading to spurious build errors. And also it seems like best practice to explicitly unwrap an Opaque function if we want to use it.
  • Restore trait to SameRuntime (required by FunctionalInterface tag)

Note: Currently only use of RichOpaqueInt is Centis. Many users of OpaqueInt in lila need to be renamed to RelaxedOpaqueInt, and many users of FunctionWrapper need the 'exec' method call added.

There are related PRs in scalachess, lila-ws, and lila for the upgrade.

@isaacl isaacl requested a review from ornicar October 17, 2024 20:18
@isaacl
Copy link
Member Author

isaacl commented Oct 17, 2024

- Remove extra definitions recently added to OpaqueX
- Rename OpaqueInt -> RelaxedOpaqueInt
- Rename OpaqueIntSafer -> RichOpaqueInt
- Rename FunctionWrapper.apply -> exec
  The apply method is overloaded with TotalWrapper.apply, leading
  to spurious build errors. And also it seems like best practice
  to explicitly unwrap an Opaque function if we want to use it.
- Restore trait to SameRuntime (requiring by FunctionalInterface tag)

Note: Currently only use of RichOpaqueInt is Centis.  Many users
of OpaqueInt in lila need to be renamed to RelaxedOpaqueInt, and
many users of FunctionWrapper need the 'exec' method call added.

There are related PRs in scalachess, lila-ws, and lila for the upgrade.
@ornicar ornicar merged commit 3ff0c37 into lichess-org:master Oct 18, 2024
1 check passed
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