<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div><blockquote type="cite" class=""><div class="">On 15 Apr 2016, at 08:24, Andrey Tarantsov <<a href="mailto:andrey@tarantsov.com" class="">andrey@tarantsov.com</a>> wrote:</div></blockquote><div><blockquote type="cite" class=""><div class=""></div></blockquote><blockquote type="cite" class=""><div class=""><div class="" style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;"><div class=""><div class=""><blockquote type="cite" class=""><div class=""><div class="">On 14 Apr 2016, at 19:23, Andrey Tarantsov <<a href="mailto:andrey@tarantsov.com" class="">andrey@tarantsov.com</a>> wrote:</div></div></blockquote></div></div></div></div></blockquote><div><blockquote type="cite" class=""><blockquote type="cite" class=""><br class=""></blockquote></blockquote></div><blockquote type="cite" class=""><div class=""><div class="" style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;"><div class=""><div class=""><blockquote type="cite" class=""><div class=""><div class="">Can you please give us a few real-world examples… </div></div></blockquote></div></div></div></div></blockquote><blockquote type="cite" class=""><br class=""></blockquote><blockquote type="cite" class=""><div class="">I can't think of any real use cases for the kind of literals you want, though, hence the question. (And I don't think it's worth adding just for computer science playground experiments alone.)</div></blockquote><div class=""><br class=""></div></div></div><div class=""><font face="Menlo" size="2" class=""><font color="#ed719e" class="">let</font> example: <font color="#3a88fe" class="">Tree</font><<font color="#3a88fe" class="">String</font>> = </font></div><div class=""><font face="Menlo" size="2" class="">[</font></div><div class=""><font face="Menlo" size="2" class=""><span class="Apple-tab-span" style="white-space:pre">        </span>"Don't Cha Wish Your Language Was Hot Like Me?",</font></div><div class=""><font face="Menlo" size="2" class=""><span class="Apple-tab-span" style="white-space:pre">        </span>[</font></div><div class=""><font face="Menlo" size="2" class=""><span class="Apple-tab-span" style="white-space:pre">                </span>"Is it hard to come up with good examples of tree literals?",</font></div><div class=""><font face="Menlo" size="2" class=""><span class="Apple-tab-span" style="white-space:pre">                </span>"Why is that? It’s trees we work with every day:",</font></div><div class=""><font face="Menlo" size="2" class=""><span class="Apple-tab-span" style="white-space:pre">                </span>[</font></div><div class=""><font face="Menlo" size="2" class=""><span class="Apple-tab-span" style="white-space:pre">                        </span>"views",</font></div><div class=""><font face="Menlo" size="2" class=""><span class="Apple-tab-span" style="white-space:pre">                        </span>"directories",</font></div><div class=""><font face="Menlo" size="2" class=""><span class="Apple-tab-span" style="white-space:pre">                        </span>"decision trees"</font></div><div class=""><font face="Menlo" size="2" class=""><span class="Apple-tab-span" style="white-space:pre">                </span>],</font></div><div class=""><font face="Menlo" size="2" class=""><span class="Apple-tab-span" style="white-space:pre">                </span>"What if we can't come up with good examples because",</font></div><div class=""><font face="Menlo" size="2" class=""><span class="Apple-tab-span" style="white-space:pre">                </span>"our imagination is limited by our medium? What if",</font></div><div class=""><font face="Menlo" size="2" class=""><span class="Apple-tab-span" style="white-space:pre">                </span>"we can't think of it because we do not think like it?"</font></div><div class=""><font face="Menlo" size="2" class=""><span class="Apple-tab-span" style="white-space:pre">        </span>]</font></div><div class=""><font face="Menlo" size="2" class="">]</font></div><div class=""><br class=""></div></body></html>