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

[Merged by Bors] - refactor(data/polynomial): re-organizing #3512

Closed
wants to merge 3 commits into from

Conversation

semorrison
Copy link
Collaborator

@semorrison semorrison commented Jul 22, 2020

This builds on #3407, trying to get related material closer together.

There shouldn't be any change to the set of declarations, just the order they come in and the imports required to get them.

The major changes are:

  1. data.polynomial.derivative now has much weaker imports
  2. generally, material has been moved "upwards" to the first place it can be done (a lot of material moved out of data.polynomial.degree into data.polynomial.degree.basic -- essentially degree is the material about degree that also needs eval and friends; a further rename might be appropriate)
  3. some of the later material is no longer a big chain of linear dependencies, but compiles separately

@semorrison
Copy link
Collaborator Author

Some independent material now compiles separately, but the import graph is still fairly linear.

@semorrison
Copy link
Collaborator Author

semorrison commented Jul 22, 2020

(moved to first post)

@bryangingechen bryangingechen added the awaiting-review The author would like community review of the PR label Jul 22, 2020
@robertylewis
Copy link
Member

I haven't looked carefully at the changes, but the description sounds fine to me.

@ChrisHughes24
Copy link
Member

bors merge

@github-actions github-actions bot added ready-to-merge All that is left is for bors to build and merge this PR. (Remember you need to say `bors r+`.) and removed awaiting-review The author would like community review of the PR labels Jul 22, 2020
bors bot pushed a commit that referenced this pull request Jul 22, 2020
This builds on #3407, trying to get related material closer together. 

There shouldn't be any change to the set of declarations, just the order they come in and the imports required to get them.

The major changes are:
1. `data.polynomial.derivative` now has much weaker imports
2. generally, material has been moved "upwards" to the first place it can be done (a lot of material moved out of `data.polynomial.degree` into `data.polynomial.degree.basic` -- essentially `degree` is the material about `degree` that also needs `eval` and friends; a further rename might be appropriate)
3. some of the later material is no longer a big chain of linear dependencies, but compiles separately



Co-authored-by: Scott Morrison <scott.morrison@gmail.com>
Co-authored-by: Chris Hughes <33847686+ChrisHughes24@users.noreply.github.com>
@bors
Copy link

bors bot commented Jul 22, 2020

Build failed:

@ChrisHughes24
Copy link
Member

bors merge

bors bot pushed a commit that referenced this pull request Jul 22, 2020
This builds on #3407, trying to get related material closer together. 

There shouldn't be any change to the set of declarations, just the order they come in and the imports required to get them.

The major changes are:
1. `data.polynomial.derivative` now has much weaker imports
2. generally, material has been moved "upwards" to the first place it can be done (a lot of material moved out of `data.polynomial.degree` into `data.polynomial.degree.basic` -- essentially `degree` is the material about `degree` that also needs `eval` and friends; a further rename might be appropriate)
3. some of the later material is no longer a big chain of linear dependencies, but compiles separately



Co-authored-by: Scott Morrison <scott.morrison@gmail.com>
Co-authored-by: Chris Hughes <33847686+ChrisHughes24@users.noreply.github.com>
Co-authored-by: Chris Hughes <chrishughes24@gmail.com>
@bors
Copy link

bors bot commented Jul 22, 2020

Pull request successfully merged into master.

Build succeeded:

@bors bors bot changed the title refactor(data/polynomial): re-organizing [Merged by Bors] - refactor(data/polynomial): re-organizing Jul 22, 2020
@bors bors bot closed this Jul 22, 2020
@bors bors bot deleted the polynomial_refactor_4 branch July 22, 2020 20:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ready-to-merge All that is left is for bors to build and merge this PR. (Remember you need to say `bors r+`.)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants