<div dir="auto">I think that cull: is cross-dialect, maybe born in VW (Travis Griggs?)</div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Le lun. 20 mai 2019 à 17:38, Marcel Taeumel <<a href="mailto:marcel.taeumel@hpi.de">marcel.taeumel@hpi.de</a>> a écrit :<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div id="m_-3787023366724274560__MailbirdStyleContent" style="font-size:10pt;font-family:Arial;color:#000000">Hi, there.<div class="m_-3787023366724274560mb_sig"></div><div><br></div><div>I think that all (6) sends in Trunk to #valueWithPossibleArgument: can be replaced with #cull:, which is more flexible.</div><div><br></div><div><img src="cid:7c7d0021-1fcf-4568-aa89-e6e976d2a67f" width="auto"></div><div><br></div><div><span style="font-size:13.3333px;line-height:20px">Does anyone recall the story of #cull:? Maybe we should just implement #</span><span style="font-size:13.3333px">valueWithPossibleArgument: on MessageSend (and maybe Symbol) to make it more consistent?</span></div><div><span style="font-size:13.3333px"><br></span></div><div><span style="font-size:13.3333px;line-height:20px">For context, here is how I stumbled on it:</span></div><div><span style="font-size:13.3333px">#(1 2 3) collect: #even. "Works." </span></div><div><span style="font-size:13.3333px">1 ifNotNil: #even. "Works."</span></div><div><span style="font-size:13.3333px">#(1) ifNotEmpty: #first. "Does not work."</span></div><div><span style="font-size:13.3333px"><br></span></div><div><span style="font-size:13.3333px">Please note that this question is not about "#(1 2 3) collect: #even" versus "#(1 2 3) collect: [:ea | ea even]". ;-) This is more like a case of surprising inconsistency...</span></div><div><span style="font-size:13.3333px"><br></span></div><div><span style="font-size:13.3333px;line-height:20px">Best,</span></div><div><span style="font-size:13.3333px;line-height:20px">Marcel</span></div></div><br>
</blockquote></div>