<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 class="">But failure in this case is a function that takes two arguments, and failureStubs is an array of tuples that map to that function's arguments. How do the tuple values get mapped to the arguments if not via tuple splatting?</div><div class=""><br class=""></div><div class="">Jarod</div><br class=""><div><blockquote type="cite" class=""><div class="">On Jan 27, 2016, at 11:28, Chris Lattner <<a href="mailto:clattner@apple.com" class="">clattner@apple.com</a>> wrote:</div><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=""><br class=""><div class=""><blockquote type="cite" class=""><div class="">On Jan 27, 2016, at 11:24 AM, <a href="mailto:swift@lng.la" class="">swift@lng.la</a> wrote:</div><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=""><div class="">Apologies -- I just realized I chose a bad example that isn't actually using the feature, but the usage would be here:</div><div class=""><br class=""></div><div class=""><div class="" style="font-family: Menlo; color: rgb(79, 129, 135); margin: 0px; font-size: 11px; line-height: normal;"><span class="" style="color: rgb(187, 44, 162);">if</span><span class="" style=""> </span>successStubs<span class="" style="">.</span><span class="" style="color: rgb(112, 61, 170);">count</span><span class="" style=""> > </span><span class="" style="color: rgb(39, 42, 216);">0</span><span class="" style=""> {</span></div><div class="" style="font-family: Menlo; color: rgb(59, 59, 59); margin: 0px; font-size: 11px; line-height: normal;"> success(<span class="" style="color: rgb(79, 129, 135);">successStubs</span>.<span class="" style="color: rgb(61, 29, 129);">removeFirst</span>())</div><div class="" style="font-family: Menlo; color: rgb(59, 59, 59); margin: 0px; font-size: 11px; line-height: normal;">}</div><div class="" style="font-family: Menlo; color: rgb(79, 129, 135); margin: 0px; font-size: 11px; line-height: normal;"><span class="" style="color: rgb(187, 44, 162);">else</span><span class="" style=""> </span><span class="" style="color: rgb(187, 44, 162);">if</span><span class="" style=""> </span>failureStubs<span class="" style="">.</span><span class="" style="color: rgb(112, 61, 170);">count</span><span class="" style=""> > </span><span class="" style="color: rgb(39, 42, 216);">0</span><span class="" style=""> {</span></div><div class="" style="font-family: Menlo; color: rgb(59, 59, 59); margin: 0px; font-size: 11px; line-height: normal;"> failure(<span class="" style="color: rgb(79, 129, 135);">failureStubs</span>.<span class="" style="color: rgb(61, 29, 129);">removeFirst</span>())</div><div class="" style="font-family: Menlo; color: rgb(59, 59, 59); margin: 0px; font-size: 11px; line-height: normal;">}</div></div></div></div></blockquote><div class=""><br class=""></div><div class="">This isn’t using the feature either. You are passing a single value (returned by removeFirst) as a single argument. No spat is happening.</div></div><br class=""><div class="">-Chris</div></div></div></blockquote></div><br class=""></body></html>