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

Remove unneeded code and unify "utils" modules #1321

Open
wants to merge 6 commits into
base: master
Choose a base branch
from

Conversation

Julow
Copy link
Collaborator

@Julow Julow commented Feb 26, 2025

This removes things that are no longer needed since the lower bounds got changed to 4.08: Shims for Option, Fun, etc.. and the result dependency.

I then unify the various "utils" modules into Odoc_utils to make the code more consistent and remove more unneeded code.

This might make the driver incompatible with some versions of Odoc.
Option, Result, Fun and many functions in List are no longer needed
since the OCaml lower bound is now 4.08.

EitherMonad was not used.
This package is no longer needed since our lower-bound is 4.08.
The Result prefix in Result.result and Result.Ok can be removed to make
the code nicer.
Remove list operations that were not needed and move skip_until and
split_at into Odoc_utils.

Document related utils could be moved to Codefmt.

This makes the code more consistent regarding List and String
manipulations.
@Julow Julow added the no changelog This pull request does not need a changelog entry label Feb 26, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
no changelog This pull request does not need a changelog entry
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant