let driving = { print("hi there.") } func travel(action: () -> Void) { action() } travel(action: driving) *Driving function enters action: () and then is called. This prints "hi there"