Remove duplication in ExprArr.hs