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

Make num dependency optional #45

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Leonidas-from-XIV
Copy link

sexplib pulls in a dependency on num which for most users is unnecessary. Those users that need sexplib.num to convert to and from num values have a dependency on num already (and thus it won't change anything for them), those who don't, have no need for num in their dependency cone and don't need to have sexplib.num.

Normally OPAM subpackages are preferred over optional packages, but in this case having sexplib.num be optional depending on the installation of num seems quite sensible.

H/T to @emillon for pointing this out.

sexplib pulls in a dependency on `num` which for most users is
unnecessary. Those users that need `sexplib.num` to convert to and from
`num` values have a dependency on `num` already, those who don't have no
need for `num` in their dependency cone.

Signed-off-by: Marek Kubica <[email protected]>
@github-iron github-iron added the forwarded-to-js-devs This report has been forwarded to Jane Street's internal review system. label Jun 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
forwarded-to-js-devs This report has been forwarded to Jane Street's internal review system.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants