Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
tbenst
on Nov 30, 2022
|
parent
|
context
|
favorite
| on:
Why I am learning category theory
Arguably from a mathematical perspective, the choice of ‘+’ is poor as it implies that the operation is commutative when it’s only associative. Julia used “foo” * “bar” for this reason:
https://groups.google.com/g/julia-dev/c/4K6S7tWnuEs/m/RF6x-f...
Koshkin
on Nov 30, 2022
[–]
Then the length() function would be a logarithm...
Koshkin
on Dec 1, 2022
|
parent
[–]
(For the benefit of those who did not get the joke: a logarithm is a homomorphism from ‘*’ to ‘+’.)
Consider applying for YC's Summer 2026 batch! Applications are open till May 4
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: