> On Aug 29, 2017, at 11:03 AM, David Sweeris via swift-dev > <[email protected]> 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
[email protected]
https://lists.swift.org/mailman/listinfo/swift-dev
