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

chore(category_theory): remove functor.of #2127

Merged
merged 3 commits into from Mar 11, 2020
Merged

chore(category_theory): remove functor.of #2127

merged 3 commits into from Mar 11, 2020

Conversation

semorrison
Copy link
Collaborator

Removes functor.of, which was just a shorthand for functor.const punit. It wasn't used much, and I think was just cruft.

Also, I'll at some point PR some work on functorial, a typeclass saying that a fixed function-on-objects is functorial, which seems to be really helpful when talking about lax monoidal functors, and enriched categories, etc. (I still would like to be able to do homological algebra properly. :-)

Once we have functorial, it will be natural to have functor.of be the construction that takes the function-on-objects and lifts it to a bundled Functor. So I'm getting rid of this one first.

@jcommelin jcommelin added the ready-to-merge All that is left is for bors to build and merge this PR. (Remember you need to say `bors r+`.) label Mar 11, 2020
@mergify mergify bot merged commit 43431be into master Mar 11, 2020
@mergify mergify bot deleted the remove_functor_of branch March 11, 2020 10:16
anrddh pushed a commit to anrddh/mathlib that referenced this pull request May 15, 2020
* chore(category_theory): remove functor.of

* fix

Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
anrddh pushed a commit to anrddh/mathlib that referenced this pull request May 16, 2020
* chore(category_theory): remove functor.of

* fix

Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
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

2 participants