Re:Category Theory Illustrated
by proc0 on Saturday March 18, 2023 @09:18PM
(#35214980)
CT describes type theory really well, which is used in a lot of programming languages. Monoids and Monads come from CT, and their implementation doesn't really explain what the concept really is (it kind of does, but not really). The programmer might not need to learn CT, but it helps to have broader understanding of how the underlying rules of the language are working.
[ Parent
| on HN ]
Re:Category Theory Illustrated
by umanwizard on Saturday March 18, 2023 @11:38PM
(#35215795)
Monoids do not come from category theory, they come from abstract algebra.
How does category theory “describe type theory” ?
It can give semantics for it, such as how cartesian closed category gives semantics to simply typed lambda calculus
https://golem.ph.utexas.edu/category/2006/08/cartesian_close...
Re:Category Theory Illustrated
by deterministic on Sunday March 19, 2023 @12:50AM
(#35216152)
Nope. Type Theory (like Matin Luff TT) describes Type Theory really well. And it is way more useful for software development than CT is. Tools like Coq, LEAN, Agda, Idris etc. are built on TT not CT.