Month: September 2016

Algebraic Data Types in Swift

An algebraic data type is a type that’s the union of other data types. That is, it’s a type that may be one of several other types. Here’s how we would implement a linked list as an algebraic data type in Swift: enum LinkedList<Element> { case empty indirect case node(data: Element, next: LinkedList) } This defines an enum called LinkedList that might either be .empty […]

Continue Reading

Notes on Higher Education and the New Society

I picked this little book up at a secondhand shop in Adams Morgan a couple of weeks ago. Keller was a professor at Johns Hopkins University, where he specialized in higher education. Higher Education and the New Society was published in 2008, a year after his death. Keller thinks that many critics of higher education are exaggerating the stubbornness of his beloved institution. He backs […]

Continue Reading