Flatten
Flatten 实例方法参考,关联到 SE-0042。
let f = String.hasPrefix
// function is curried
f("Hello")("He") // => true
let __f = flatten(f)
// function is flattend
__f("Hello", "He") // => true
限制
只支持最多 20 个参数。
作者
Yusuke Hosonuma / [email protected] / @tobi462
许可
Flatten 采用 MIT 许可。查看 LICENSE 文件获取更多信息。