5 ms·
> func g<S: Sequence>() -> S where S.Element == Int { I think Rust can do this case. I think this is how a simple version of `collect` would work (or very near
by eximius 9y ago
> func g<S: Sequence>() -> S where S.Element == Int {
I think Rust can do this case. I think this is how a simple version of `collect` would work (or very nearly).