Skip to content

Remove `Forward constructor - #1478

Open
Leonidas-from-XIV wants to merge 2 commits into
ocaml:masterfrom
Leonidas-from-XIV:remove-forward
Open

Remove `Forward constructor#1478
Leonidas-from-XIV wants to merge 2 commits into
ocaml:masterfrom
Leonidas-from-XIV:remove-forward

Conversation

@Leonidas-from-XIV

Copy link
Copy Markdown
Member

I was trying to understand what `Forward does. To do so figure out where a value of `Forward is constructed (from scratch, not as part of a map operation) and see what context this is useful. But it seems that such a value is never constructed. To test my hypothesis I removed the `Forward constructor from the codebase and it seems to compile fine and the tests also pass.

Thus my investigation seems to point to the fact that `Forward is unnecessary and can be removed. I'm opening a draft PR and invite maintainers to take a look - maybe I am missing some context in which `Forward is used, but if anything then at least it points at the fact that this functionality is not covered by any tests.

@Leonidas-from-XIV Leonidas-from-XIV changed the title Remove ` Forward`` constructor Remove `Forward constructor Aug 14, 2026
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.

1 participant