When I atempt to input the last example of a shorthand syntax for a closure -
let multiplyClosure = { $0 * $1 }
I get an error “Ambiguous use of operator ‘*’”
When I atempt to input the last example of a shorthand syntax for a closure -
let multiplyClosure = { $0 * $1 }
I get an error “Ambiguous use of operator ‘*’”
Never mind. I figured it out. I was not specifying the type on the left hand side of the assignment (DUH!)