What is Nostr?
Helge Heß /
npub1n0w…aw0d
2024-08-19 20:16:25

Helge Heß on Nostr: Is there a reason that #SwiftLang doesn't allow calling a generic function, say `func ...

Is there a reason that #SwiftLang doesn't allow calling a generic function, say `func x<T>() {}` using `x<Int>()` or `x<String>()` etc, but requires that artificial type parameter that is often used? (`x(type: Int.self)`).
Author Public Key
npub1n0wag4utvkrzp0dlqmuhlw8e0rqgkeqar5py3fsn74fd0mmlwzdqykaw0d