[swift-dev] Generic typealiases
jtbandes at gmail.com
Tue Mar 8 01:45:30 CST 2016
On Mon, Mar 7, 2016 at 11:09 PM, Chris Lattner via swift-dev <
swift-dev at swift.org> wrote:
> Hi All,
> I just landed an implementation of generic typealiases, e.g. things like:
> typealias StringDictionary<T> = Dictionary<String, T>
> typealias IntFunction<T> = (T) -> Int
> typealias MatchingTriple<T> = (T, T, T)
> typealias BackwardTriple<T1,T2,T3> = (T3, T2, T1)
> etc now work.
> I have tested various scenarios with them, but I wouldn’t be surprised if
> there are corner cases that aren’t working yet. Please try kicking them
> around and let me know if you run into any problems, thanks!
> swift-dev mailing list
> swift-dev at swift.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the swift-dev