Open iceman201 opened 8 years ago
func convert<S: NumericType>(_ s: S, arr: [S], f: (S) -> S) -> [S] { switch arr.match { case let .some(h, t): return [f(h) + s] as! [] + convert(h + s, arr:t, f: f) case .none: return [] } }
I dont know how to re-write this part in swift 3
+1 for Swift 3 Support
please!
Such good framework please update to swift 3.0!!! PLZ @ohida @emeitch @remore @kasajei
Please!
I dont know how to re-write this part in swift 3