Avatar
omochimetaru 6/7/2018 3:03 PM
The accepted and implemented SE-0187 says “…we will add Sequence.compact() when it is possible to do so.” It seems to be possible now, and the shorter syntax for a common operation (filtering nils ...
3:03 PM
今入れ違いでclosedになってるw
3:04 PM
Hm, according to this Evolution thread we would better wait for the real deal (extension Sequence where Element : Optional), since going with the temporary generic solution now would cause problems with ABI stability later.