Code for Why Dependent Types Matter