Generalized Differential and Integral Categories