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

Document re_export field #3661

Merged
merged 3 commits into from
Jul 30, 2020
Merged

Document re_export field #3661

merged 3 commits into from
Jul 30, 2020

Conversation

rgrinberg
Copy link
Member

Fix #3657

Fix ocaml#3657

Signed-off-by: Rudi Grinberg <me@rgrinberg.com>
@rgrinberg rgrinberg requested review from emillon and nojb as code owners July 30, 2020 09:36
doc/concepts.rst Outdated Show resolved Hide resolved
transitive dependencies being available to users of a library. For example, if
we define a library ``core``, that extends ``core_kernel``, we'd like users of
``core`` to immediately have ``core_kernel`` available as well. To do this, we
must define the dependency on ``core_kernel`` as re-exported:
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That's not actually true though. We don't want Core to re-export Core_kernel. Core supersedes Core_kernel, so users of Core should stick to Core.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah, that's true. I'll stick to some dummy names to avoid confusing the user.

rgrinberg and others added 2 commits July 30, 2020 03:07
Signed-off-by: Rudi Grinberg <me@rgrinberg.com>
Signed-off-by: Jeremie Dimino <jeremie@dimino.org>
doc/dune-files.rst Outdated Show resolved Hide resolved
@rgrinberg rgrinberg merged commit 66cfb3a into ocaml:master Jul 30, 2020
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.

re_export is not documented
2 participants