Easier specifiation of how name res should alter ast