compilation for infix functions and unary functions