Finished homework 4 (phase splitting) for HOT compilers just now. About 2.5 hours yesterday for warming up and doing the module expression and signature rules, about 1.5 hours today doing everything else, and 15 minutes fixing a silly bug with splitting functors. 4.25 hours yielded about 400loc, and I think I sort of actually understand phase splitting now. During class this morning I was struck by how amazing the whole process we've covered during the semester is, and how beautiful it is at the type level. Maybe it still ought to seem like a whole lot of hackery in the cold light of day, but I liked it.