objcio / functional-swift

Issue repository for the Functional Swift book
http://www.objc.io/books/fpinswift
927 stars 133 forks source link

Wrong output in Theoretical Background: Currying #115

Closed bojan closed 8 years ago

bojan commented 8 years ago

There are unexpected strings in the output of the add functions:

Lines 4 and 5:

add1(1, 2)
add2(1)(2)
VPA info: plugin is INTEL, AVD_id = 1080004,
AVD_api.Create:0x1126d0385
3

And a bit further, lines 2 and 3:

add3(1)(2)
VPA info: plugin is INTEL, AVD_id = 1080004,
AVD_api.Create:0x103950385
3
chriseidhof commented 8 years ago

Thanks! We'll fix this in the next update.