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] - chore(linear_algebra/basic): rewrite p.comap q.subtype to comap q.subtype p #3725

Closed
wants to merge 1 commit into from

Conversation

Vierkantor
Copy link
Collaborator

@PatrickMassot requested this change in the review of #3720:

I find this statement very difficult to read. I think this is a bad use of dot notation, it really feels like p is pulling back q.subtype instead of the other way around (and even the docstring is suggesting that!). The same problem happens with filter.(co)map and always try to avoid it.
I would open submodule and then write comap q.subtype p ≃ₗ[R] p.


@Vierkantor Vierkantor added easy < 20s of review time. See the lifecycle page for guidelines. awaiting-review The author would like community review of the PR labels Aug 8, 2020
@PatrickMassot
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 Aug 8, 2020
bors bot pushed a commit that referenced this pull request Aug 8, 2020
…subtype p` (#3725)

@PatrickMassot requested this change in the review of #3720:

> I find this statement very difficult to read. I think this is a bad use of dot notation, it really feels like `p` is pulling back `q.subtype` instead of the other way around (and even the docstring is suggesting that!). The same problem happens with filter.(co)map and always try to avoid it.
> I would open submodule and then write `comap q.subtype p ≃ₗ[R] p`.
@bors
Copy link

bors bot commented Aug 8, 2020

Pull request successfully merged into master.

Build succeeded:

@bors bors bot changed the title chore(linear_algebra/basic): rewrite p.comap q.subtype to comap q.subtype p [Merged by Bors] - chore(linear_algebra/basic): rewrite p.comap q.subtype to comap q.subtype p Aug 8, 2020
@bors bors bot closed this Aug 8, 2020
@bors bors bot deleted the comap_subtype branch August 8, 2020 13:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
easy < 20s of review time. See the lifecycle page for guidelines. 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

2 participants