> On Aug 29, 2017, at 11:03 AM, David Sweeris via swift-dev 
> <swift-dev@swift.org> wrote:
> 
> Hi everyone! I'm trying to implement literal values as generic types.

Can you briefly explain what you mean by this?

Are you referring to let-polymorphism, like

let fn = { $0 }
let f1: (Int) -> Int = fn
let f2: (Float) -> Float = fn

Slava

_______________________________________________
swift-dev mailing list
swift-dev@swift.org
https://lists.swift.org/mailman/listinfo/swift-dev

Reply via email to