计算机科学 > 程序设计语言
[提交于 2022年9月2日 (v1),最后修订于 2026年3月5日 (此版本, v2)]
标题:Category Theory for Programming
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读摘要:In these lecture notes, we give a brief introduction to some elements of category theory. The choice of topics is guided by applications to functional programming. Firstly, we study initial algebras, which provide a mathematical characterization of datatypes and recursive functions on them. Secondly, we study monads, which give a mathematical framework for effects in functional languages. The notes include many problems and solutions.