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

[ADP-3169] Implement "physical identities" for modules #45

Draft
wants to merge 6 commits into
base: main
Choose a base branch
from

Conversation

HeinrichApfelmus
Copy link
Collaborator

@HeinrichApfelmus HeinrichApfelmus commented Oct 13, 2023

This pull request implements

  • "physical" identities for modules, and
  • provenance information about the module in which a TypName is defined.

This is necessary in order to support multiple inclusions of the same module with different instances for imports.

As a first, somewhat simplistic use case, we add an assertion for equality of modules in the package description:

package Test where

module X from "X.fine";
module Xoops renaming X from "X.fine";
assert X == Xoops;

Issue number

ADP-3169

@HeinrichApfelmus HeinrichApfelmus force-pushed the HeinrichApfelmus/ADP-3169/module-identities branch 4 times, most recently from ea7d00f to c92bb4d Compare October 19, 2023 12:18
@HeinrichApfelmus HeinrichApfelmus force-pushed the HeinrichApfelmus/ADP-3169/module-identities branch from 13dcebd to 4768b2b Compare November 1, 2023 17:21
@HeinrichApfelmus HeinrichApfelmus force-pushed the HeinrichApfelmus/ADP-3169/module-identities branch from 4768b2b to 9656c0b Compare November 1, 2023 17:27
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