TypeChecker Only 55 lines of code for the checker. Two steps: get the implied type for the term, test it against the supposed type.