Avatar
omochimetaru 3/29/2018 2:54 AM
18dayのラトナスレだ
2:55 AM
// In the defining module. func foo_impl(a: Int, b: Int, c: Float) {...} func foo_b() -> Int { return 42 } func foo_c() -> Float { return 3.14 } // On the caller side. let bval = foo_b() let cval = foo_c() foo_impl(a: 192, b: bval, c: cval) ↑そうそうコレ