if `=>` is specified, treat expression as a function