Higher-order functions: Difference between revisions

No edit summary
Line 909:
function : Main(args : String[]) ~ Nil {
f := GetSize(String) ~ Int;
fPrint("Hello World!"f);
}
 
Line 916:
}
 
function : OutPrint(func : (String)~Int) ~ Nil {
func("Hello World!")->PrintLine();
}
760

edits