Department of Mathematics
Massachusetts Institute of Technology Office: 2-180 Email: {bfo,dspivak} -- mit/edu
18.S097: Programming with Categories
IAP 2020
General information
Room:
4-163
Dates:
Jan 7—31 (MTWRF)
Time:
2—3pm
Prerequisites:
None
Credit:
3 units (1-0-2) (P/D/F)
Summary: In this course we explain how category theory—a branch of mathematics known for its ability to organize the key abstractions that structure much of the mathematical universe—has become useful for writing elegant and maintainable code. In particular, we'll use examples from the Haskell programming language to motivate category-theoretic constructs, and then explain these constructs from a more abstract and inclusive viewpoint. Hands-on programming exercises will be used to demonstrate categorical ideas like "the universal property of products" in working Haskell code. A rough list of topics includes:
All are welcome to attend the lectures in person. We encourage those participating remotely to post questions and discuss course content on the Azimuth Forum.