logoalt Hacker News

xqb64today at 4:50 PM1 replyview on HN

Is it only applicable in e.g. Haskell, though, or is it language agnostic? Thanks for your answer.


Replies

lioeterstoday at 8:08 PM

In a different comment thread, someone mentioned the book, Category Theory for Programmers. Here's the Releases page with PDF files (click to open the Assets section). https://github.com/hmemcpy/milewski-ctfp-pdf/releases

There are several versions with code examples in Haskell, OCaml, ReasonML, and Scala. These are all typically associated with functional programming and category theory. However, category theory is a much wider and deeper subject than any specific language, and deals with mathematical objects and concepts relevant to (more or less) all of programming.