<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="">On Jul 11, 2016, at 1:21 PM, James Froggatt via swift-evolution <<a href="mailto:swift-evolution@swift.org" class="">swift-evolution@swift.org</a>> wrote:<br class=""><div><blockquote type="cite" class=""><br class="Apple-interchange-newline"><div class=""><meta http-equiv="Content-Type" content="text/html charset=utf-8" class=""><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Thanks for letting me know this has been tried before, I'm actually in the process of drafting the proposal now.</div></div></blockquote><div><br class=""></div>I'd hesitate to try to do something off-beat and "blend" them but it amuses me no end that the :-> operator looks so very happy.</div><div><br class=""></div><div><span style="font-family: Palatino-Roman;" class="">subscript(_ position: Int) inout <b class="">:-></b> Element { get { … } set { … } }</span></div><div><span style="font-family: Palatino-Roman;" class=""><br class=""></span></div><div>Nonetheless, I do want to point out that unlike properties, subscripts provide a mapping between a domain and a range so it feels more natural to me to use -> than :.</div><div><br class=""></div><div>-- E</div><div><br class=""></div><div><br class=""></div><br class=""></body></html>