Racket and Category Theory

草,今天写 Racket 看文档的时候突然发现文档首页好像多了点什么东西:

Category Theory in Programming

原帖在这:Category Theory in Programming - General - Racket Discourse

In this tutorial, I explore the applications of category theory in programming, using Racket to represent abstract mathematical concepts. The completed sections introduce categories, functors, and natural transformations, demonstrating how these ideas map into programming constructs with practical code examples. This work aims to help programmers understand system design from a mathematical perspective, building a foundation that progresses from basic structures to advanced abstractions.

也许可以拿这个来范畴论入门?

3 个赞

让我这个小白试试看能不能入门 :see_no_evil:

我试了一下,感觉不如 [1803.05316] Seven Sketches in Compositionality: An Invitation to Applied Category Theory,这个我看了两小节,题不会做至少能看解答。

不过也许两个可以对照着看

1 个赞

这个也不错,我之前查一些小众的名词查到他们那里,他们的页面内容面向有一定数学基础的人写作,但是有非常多的链接。

https://ncatlab.org/nlab/show/category+theory

3 个赞