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

Replace Julia.GAP by a cleaner solution? #1053

Open
fingolfin opened this issue Sep 24, 2024 · 0 comments
Open

Replace Julia.GAP by a cleaner solution? #1053

fingolfin opened this issue Sep 24, 2024 · 0 comments

Comments

@fingolfin
Copy link
Member

Right now we use a hack to make sure Julia.GAP always refers to the GAP julia module, even if it was not loaded into Julia's Main module.

This requires some hacky code. It also means that Main.GAP in Julia and Julia.GAP in GAP can reference different objects (mind you, that's not a major concern as it is easy to avoid for a user, but it's still annoying).

So perhaps we can provide an additional alternative means to access it (and then phase out use of Julia.GAP over time. E.g. we could add a global variable GAP_jl which contains the GAP module. Suggestions for better names welcome. (I would not call it GAP, though, as I believe this would be very confusing for GAP users).

If we went with GAP_jl, then for symmetry in Oscar we could also provide Oscar_jl as an alias for the Oscar global variable.

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

No branches or pull requests

1 participant