contract HigherOrderEntrypoint = entrypoint apply(f : int => int, x : int) = f(x)