-
Notifications
You must be signed in to change notification settings - Fork 74
def: 1-category Monad(C) #381
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
Conversation
e05ccd6
to
3b218f4
Compare
This is my first serious 1lab contribution and I probably messed up things. 😅 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks pretty good!
@ncfavier Question: should I write "id", "Id", or "1" for identity functors and identity natural transformations? I checked a few more pages and found that it's not entirely consistent. 🤔 |
"Id" is fine for functors, and "id" for natural transformations |
Co-authored-by: Naïm Favier <[email protected]>
Co-authored-by: Naïm Favier <[email protected]>
Co-authored-by: Naïm Favier <[email protected]>
Co-authored-by: Naïm Favier <[email protected]>
Co-authored-by: Naïm Favier <[email protected]>
Description
Define the 1-category of monads.
Checklist
Before submitting a merge request, please check the items below:
support/sort-imports.hs
(ornix run --experimental-features nix-command -f . sort-imports
).