[swift-evolution] Generic Subscripts
    Dave Abrahams 
    dabrahams at apple.com
       
    Sat Jan 14 17:41:12 CST 2017
    
    
  
on Fri Jan 13 2017, John McCall <swift-evolution at swift.org> wrote:
> I'm also not sure we'd ever want the element type to be inferred from
> context like this.  Generic subscripts as I see it are about being
> generic over *indexes*, not somehow about presenting a polymorphic
> value.
Actually I *would* want to be able to do that, though I admit it's the
1% case (or less).
-- 
-Dave
    
    
More information about the swift-evolution
mailing list