treat arrow functions as another function type when transforming