[swift-evolution] [Pitch] Nil struct

Anton Zhilin antonyzhilin at gmail.com
Tue Nov 8 15:21:14 CST 2016


2016-11-09 0:11 GMT+03:00 arkadi daniyelian <arkdan at icloud.com>:

I could not clearly see the exact, concrete problem with the current
> implementation. IMAO such fundamental change requires a *very* serious
> reason and some thought on performance side of thing.
>
Performance will not be hurt, because as Robert noted, Nil will be
isomorphic to ().
Concrete problem, as stated in the proposal, is “hacks” that standard
library has to contain, because nil does not have its LiteralType.
​
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.swift.org/pipermail/swift-evolution/attachments/20161109/323eb91d/attachment.html>


More information about the swift-evolution mailing list