<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=""><br class=""><div><blockquote type="cite" class=""><div class="">On Dec 31, 2015, at 09:25, Dave Abrahams via swift-evolution <<a href="mailto:swift-evolution@swift.org" class="">swift-evolution@swift.org</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><blockquote type="cite" class=""><div class=""><br class="Apple-interchange-newline">On Dec 25, 2015, at 4:43 PM, Nickolas Pohilets via swift-evolution <<a href="mailto:swift-evolution@swift.org" class="">swift-evolution@swift.org</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" class="" style="font-family: AvenirNext-Medium; font-size: 15px; font-style: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;">If Swift would support non-type generic parameters, then I would like to have Boost.Unit library (<a href="http://www.boost.org/doc/libs/1_60_0/doc/html/boost_units.html" class="">http://www.boost.org/doc/libs/1_60_0/doc/html/boost_units.html</a>) available in Swift.</div></div></blockquote><div class=""><br class=""></div>Yes, that’s an excellent design. We really want to do this when we get the necessary language features (I hope we might also come up with some that improve readability a bit over what you can do in C++).</div></div></blockquote></div><div class=""><br class=""></div><div class="">I will do cartwheels when we can write stuff like Vector<3> or Tensor<4,4,4>. Glad to hear it’s on your mind, including the readability aspect.</div><div class=""><br class=""></div><div class="">Matt</div><div class=""><br class=""></div><div class=""><br class=""></div></body></html>