CocoaPods trunk is moving to be read-only. Read more on the blog, there are 19 months to go.

Flatten 0.1.0

Flatten 0.1.0

Maintained by Yusuke Hosonuma.



Flatten 0.1.0

Flatten

CocoaPods SPM Compatible License Twitter

Flatten instance method reference that resolved to SE-0042.

let f = String.hasPrefix

// function is curried
f("Hello")("He") // => true

let __f = flatten(f)

// function is flattend
__f("Hello", "He") // => true

Limitation

Only up to 20 arguments are supported.

Author

Yusuke Hosonuma / [email protected] / @tobi462

License

Flatten is available under the MIT license. See the LICENSE file for more info.