var f: () -> String = { "hello" } var array: [() -> String] = [] array.append(f) print(array[0] === f)
/Users/omochi/temp/swer/Sources/swer/main.swift:5:16: Cannot check reference equality of functions; operands here have types '() -> String' and '() -> String'