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

closed under packages? #65

Open
amrods opened this issue Aug 27, 2021 · 1 comment
Open

closed under packages? #65

amrods opened this issue Aug 27, 2021 · 1 comment

Comments

@amrods
Copy link

amrods commented Aug 27, 2021

I'm willing to define some rules for SpecialFunctions, however some of the derivatives require functions not implemented in SpecialFunctions but in say GSL.jl. Is there any style convention for only allowing rules that are closed under derivation in the same package? I suppose the worst that can happen is that a user would get an undef error if they try to use a rule that requires GSL.jl but they have not loaded it before.

@mcabbott
Copy link
Member

This sounds OK to me, better than not having the rules, or unconditionally loading. I don't see a way to make a very friendly error message, sadly... it's a pity that GSL doesn't have a more verbose descriptive name.

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

2 participants