the little knowledge , I have about first class function is that it supports passing functions as arguments and we can also return them as the values in another function ... I a
A very simple example to demonstrate this behaviour:
func functionA() { println("Hello by functionA") } func executeFunction(function: () -> ()) { function() } executeFunction(functionA)