[swift-evolution] Add an ifPresent function to Optional
    Erica Sadun 
    erica at ericasadun.com
       
    Sun Mar 20 13:51:52 CDT 2016
    
    
  
> On Mar 20, 2016, at 12:20 PM, Krzysztof Siejkowski <krzysztof at siejkowski.net> wrote:
> However, I’m not sure about this one:
> 
>> public func f2<U>(@noescape f: (Wrapped) throws -> U!) rethrows -> U!
> 
> I haven’t used implicitly unwrapped optionals at all, I just never found a good case for them. Why do you think this variant might be useful?
> 
> 
Because flatMap. No other reason. I'm not advocating this.
-- E
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.swift.org/pipermail/swift-evolution/attachments/20160320/b43b7115/attachment.html>
    
    
More information about the swift-evolution
mailing list