<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body dir="auto">Have you looked at the Higher Order Messaging from Marcel Weiher?<div><br></div><div><a href="http://www.metaobject.com/papers/Higher_Order_Messaging_OOPSLA_2005.pdf">http://www.metaobject.com/papers/Higher_Order_Messaging_OOPSLA_2005.pdf</a><br><div dir="ltr"><div><br></div></div><div dir="ltr"><br>On 12 Jun 2019, at 14:31, Marcel Taeumel <<a href="mailto:marcel.taeumel@hpi.de">marcel.taeumel@hpi.de</a>> wrote:<br><br></div><blockquote type="cite"><div dir="ltr"><div id="__MailbirdStyleContent" style="font-size: 10pt;font-family: Arial;color: #000000">Hi, there.<div class="mb_sig"></div><div><br></div><div>One of our students was curious about whether the following expression could be somehow improved:</div><div><br></div><div><b>someObjects collect: [:each | self convert: each].</b></div><div><br></div><div>I suppose that the main goal was to remove the brackets. Similar to the existing symbol shortcut:</div><div><br></div><div><b>someObjects collect: #message.</b></div><div><br></div><div>Looking at all implementors of #value:, #cull: and alike, I suppose that a more convenient creation of a MessageSend could tackle this case directly:</div><div><b><br></b></div><div><b>someObjects collect: self >>> #convert:.</b></div><div><br></div><div>This feels strange. :-) Very strange. But maybe it's just me. I don't see the traditional [:each | ...] version as neither difficult to read nor write.</div><div><br></div><div>What do you think about adding the #>>> message to MessageSend for more compact instantiation? Do you see other scenarios of interest? Would it be just superfluous? Producing less readable code?</div><div><br></div><div>Best,</div><div>Marcel</div><div><br></div><div>P.S.: #>>> would be close to #>>, which is implemented on Behavior to access method objects.</div></div></div></blockquote><blockquote type="cite"><div dir="ltr"><span></span><br></div></blockquote></div></body></html>