[swift-evolution] 100% bikeshed topic: DictionaryLiteral

Nevin Brackett-Rozinsky nevin.brackettrozinsky at gmail.com
Tue Jan 9 20:10:13 CST 2018


On Tue, Jan 9, 2018 at 7:47 PM, charles at charlesism.com <
charlesism.com at gmail.com> wrote:

> I used a DictionaryLiteral only yesterday, and it turned what would have a
> typically unreadable array of Structs into something much more elegant. I'm
> pretty sure the only reason Literals (of all varieties) aren't used more
> often is because Swift programmers don't realize they are available and
> easy to implement.
>

Could you provide an example of how you used DictionaryLiteral?

Nevin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.swift.org/pipermail/swift-evolution/attachments/20180109/e912c701/attachment.html>


More information about the swift-evolution mailing list