#!/usr/local/bin/swift struct closureA { func request(num: Int, response: (Int) -> ()) { response(num * 10) } } let a = closureA() let result = a.request(num: 1) { (aaa: Int) in print(aaa) // 10 } print(result)