callable IntFunction(i as int) as int def square(i as int): return i*i fn as IntFunction = square fn(2)