211. Categories as Types (www.jeremykun.com)
In this post weβll get a quick look at two ways to define a category as a type in ML. The first way will be completely trivial: weβll just write it as a tuple of functions. The second will involve the terribly-named βfunctorβ expression in ML, which allows one to give a bit more structure on data ty...