Function types are useful with higher order functions.
function ( ) [ : ]Example:
var t : (function(int):int);By the above definition,
t can only be assigned a function which matches the provided signature:
function f(a : int) { return a; } t = f;
