-
Notifications
You must be signed in to change notification settings - Fork 15
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
add entry to Makefile for generating a more complete Everything.agda #55
base: master
Are you sure you want to change the base?
Conversation
...invoke `make Everything.agda` to generate it.
Thanks, but it's not all that clear to me why we'd want that. I think there are generally two options for building projects: building the least things possible starting from some root or building everything one can find. With @Ali-Hill's script that we just merged, I think we have a pretty good setup for the former option, but this depends somewhat on us maintaining import lists, i.e. we won't find any unused modules if we import them without actually using them for anything. If we now add every module to an A feature like that in the makefile would be great if we wanted to switch to the latter approach. We could then remove the I don't really have a reason to prefer one approach over the other right now, but we should probably have a good reason for switching if we do. I wonder if it's confusing to have a |
I see your point. However, my suggestion was to first run Alasdair's script to make sure there is no unnecessary/unused modules, before running If you decide we should be building a minimal amount of stuff, then I agree with your suggestion that we ought to use a different name for what is essentially the top, or entry-point, to the Here are a couple of reasons for not using As you point out, it's confusing, especially since I believe it's standard practice to list literally everything in If |
When I first got the Incidentally, in my |
Arguably all of this is a hack that just exists because Agda doesn't have a package manager and this is reasonably convenient. I don't think there'd be I agree that it's confusing and I don't think you missing modules that weren't even in the diff is your mistake - we should (and do now) have automation in place. I like renaming the |
Got it. You don't want an |
Resurrecting this issue because there have been two instances recently where we simply forgot to import |
...invoke
make Everything.agda
to generate it.