Towards type-directed compiler calculation - Cambridge University Press