fix GramCo.hs to compile