<html><head></head><body>  <div>Results in </div><div><br></div><div>‘<b>detect: detectBlock ifNone: noneBlock’<caret></caret></b></div><div><br></div><div id="protonmail_signature_block" class="protonmail_signature_block"><div>—<br>Have a good one; keep it, light.<br>Kindly, rabbit . .. … ‘…^,^ 🐇🐇🐇<br><br>Sent from Callisto House mobile - Ganymede<br>:: decentralized mobile homeless solutions ::</div></div> <div class="signature_br" contenteditable="false"><br></div><div class="signature_br" contenteditable="false"><br></div>  <div><br></div><div><br></div>On Thu, Jan 12, 2023 at 13:37, rabbit <<a href="mailto:rabbit@callistohouse.org" class="">rabbit@callistohouse.org</a>> wrote:<blockquote class="protonmail_quote" type="cite">    <div>Better is:</div><div><br></div><div><i style="font-size: 16px; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-tap-highlight- -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; text-decoration: none; caret-  font-family: -apple-system, Helvetica, Arial, sans-serif;"><b style="font-weight: 700; caret-">methodSignature := ‘detect:ifNone:’ </b></i><span style="font-size: 16px; font-style: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-tap-highlight- -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; text-decoration: none; caret-  font-family: -apple-system, Helvetica, Arial, sans-serif; float: none;"><i style="caret-"><b style="font-weight: 700; caret-">messageSignatureFromArguments: #(‘detectBlock’ ‘noneBlock’).</b></i></span><br></div><div><br></div><div id="protonmail_signature_block" class="protonmail_signature_block"><div>—<br>Have a good one; keep it, light.<br>Kindly, rabbit . .. … ‘…^,^ 🐇🐇🐇<br><br>Sent from Callisto House mobile - Ganymede<br>:: decentralized mobile homeless solutions ::</div></div> <div class="signature_br" contenteditable="false"><br></div><div class="signature_br" contenteditable="false"><br></div>  <div><br></div><div><br></div>On Thu, Jan 12, 2023 at 13:34, rabbit <<a href="mailto:rabbit@callistohouse.org" class="">rabbit@callistohouse.org</a>> wrote:<blockquote class="protonmail_quote" type="cite">    <div>Jeez, I’m totally confused, this morning.</div><div><br></div><div><div style="font-style: normal; font-variant-caps: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;"><span style="font-weight: 400;">Ahh, yes. Here we are. Thanks, Elliot. I’m still unable to see methods added to the methodDict, even with the call to </span><b>#</b><i style="font-size: 16px; font-variant-caps: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;"><b>addSelector: selector withMethod: compiledMethod method notifying:</b><span class="Apple-converted-space"><b> [nil].</b></span></i></div><div style="font-style: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-tap-highlight- -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; text-decoration: none; caret-"><br style="caret-"></div><span style="caret-  font-family: -webkit-standard; font-size: medium; font-style: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-tap-highlight- -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; text-decoration: none; display: inline !important; float: none;">A comment in String>>#keywords sez ::</span><div style="font-style: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-tap-highlight- -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; text-decoration: none; caret-"><br style="caret-"></div><div style="font-style: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-tap-highlight- -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; text-decoration: none; caret-">"Has a final keyword, as in #nextPut::andCR"</div><div style="font-style: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-tap-highlight- -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; text-decoration: none; caret-"><br style="caret-"></div><div style="font-style: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-tap-highlight- -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; text-decoration: none; caret-">What is this? Is there some sort of trailing keyword allowed???</div><div style="font-style: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-tap-highlight- -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; text-decoration: none; caret-"><br style="caret-"></div><div style="font-style: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-tap-highlight- -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; text-decoration: none; caret-">•••</div><div style="font-style: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-tap-highlight- -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; text-decoration: none; caret-"><br style="caret-"></div><div style="font-style: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-tap-highlight- -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; text-decoration: none; caret-">Here’s an extension method I’m now using, called with:</div><div style="font-style: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-tap-highlight- -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; text-decoration: none; caret-"><br style="caret-"></div><div style="font-style: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-tap-highlight- -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; text-decoration: none; caret-"> <i style="caret-"><b style="font-weight: 700; caret-"><span class="Apple-converted-space"> </span> methodSignature := ‘detect:ifNone:’ </b></i><span style="font-size: 16px; font-variant-caps: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; float: none; caret- display: inline !important;"><i style="caret-"><b style="font-weight: 700; caret-">messageSignatureFromArguments: { [:each | each isIt ]. [nil] }.</b></i></span></div><div style="font-style: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-tap-highlight- -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; text-decoration: none; caret-"><br style="caret-"></div><div style="font-style: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-tap-highlight- -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; text-decoration: none; caret-"><div style="caret-  font-family: -apple-system, Helvetica, Arial, sans-serif; font-size: 16px; font-style: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-tap-highlight- -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; text-decoration: none;"><i style="caret-">String>>#</i>messageSignatureFromArguments:<i style="caret-"> arguments</i></div><div style="caret-  font-family: -apple-system, Helvetica, Arial, sans-serif; font-size: 16px; font-style: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-tap-highlight- -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; text-decoration: none;"><i style="caret-"><span class="Apple-tab-span" style="white-space: pre; caret-">   </span>"Answer an array of the keywords, insterspersed with the argument names, that compose the receiver."</i></div><div style="caret-  font-family: -apple-system, Helvetica, Arial, sans-serif; font-size: 16px; font-style: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-tap-highlight- -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; text-decoration: none;"><i style="caret-"><span class="Apple-tab-span" style="white-space: pre; caret-">   </span>| selectorStream |</i></div><div style="caret-  font-family: -apple-system, Helvetica, Arial, sans-serif; font-size: 16px; font-style: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-tap-highlight- -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; text-decoration: none;"><i style="caret-"><span class="Apple-tab-span" style="white-space: pre; caret-">       </span>selectorStream := '' writeStream.</i></div><div style="caret-  font-family: -apple-system, Helvetica, Arial, sans-serif; font-size: 16px; font-style: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-tap-highlight- -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; text-decoration: none;"><i style="caret-"><span class="Apple-tab-span" style="white-space: pre; caret-">        </span>(self numArgs = 0)</i></div><div style="caret-  font-family: -apple-system, Helvetica, Arial, sans-serif; font-size: 16px; font-style: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-tap-highlight- -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; text-decoration: none;"><i style="caret-"><span class="Apple-tab-span" style="white-space: pre; caret-">               </span>ifTrue: [selectorStream nextPutAll: self]</i></div><div style="caret-  font-family: -apple-system, Helvetica, Arial, sans-serif; font-size: 16px; font-style: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-tap-highlight- -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; text-decoration: none;"><i style="caret-"><span class="Apple-tab-span" style="white-space: pre; caret-">                </span>ifFalse: [self keywords with: arguments </i></div><div style="caret-  font-family: -apple-system, Helvetica, Arial, sans-serif; font-size: 16px; font-style: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-tap-highlight- -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; text-decoration: none;"><i style="caret-"><span class="Apple-tab-span" style="white-space: pre; caret-">                    </span>do: [:keyword :argument | selectorStream nextPutAll: keyword, ' ', argument, ' ']].</i></div><div style="caret-  font-family: -apple-system, Helvetica, Arial, sans-serif; font-size: 16px; font-style: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-tap-highlight- -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; text-decoration: none;"><i style="caret-"><span class="Apple-tab-span" style="white-space: pre; caret-">      </span>^ selectorStream contents</i></div></div><br class="Apple-interchange-newline" style="caret-  font-style: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-tap-highlight- -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; text-decoration: none;">The allows my method copy block to be:</div><div><br></div><div><div><i><span class="Apple-tab-span" style="white-space:pre">        </span>classes do: [:thisClazz | </i></div><div><i><span class="Apple-tab-span" style="white-space:pre">           </span>thisClazz methodDictionary keysAndValuesDo: [:selector :method | | arguments compiledMethod | </i></div><div><i><span class="Apple-tab-span" style="white-space:pre">                       </span>arguments := method tempNames first: method numArgs.</i></div><div><i><span class="Apple-tab-span" style="white-space:pre">                      </span>compiledMethod := Compiler </i></div><div><i><span class="Apple-tab-span" style="white-space:pre">                          </span>compile: ((selector messageSignatureFromArguments: arguments), </i></div><div><i><span class="Apple-tab-span" style="white-space:pre">                                      </span>'  ^self redirectMessage: (Message selector: ', selector asSymbol printString, </i></div><div><i><span class="Apple-tab-span" style="white-space:pre">                                 </span>' arguments: ', '{', ((arguments printElementsOn: '' writeStream) contents), '}).')</i></div><div><i><span class="Apple-tab-span" style="white-space:pre">                               </span>environment: value class environment notifying: nil trailer: method trailer ifFail: [nil].</i></div><div><i><span class="Apple-tab-span" style="white-space:pre">                        </span>refClass addSelector: selector withMethod: compiledMethod method notifying: nil<span style="color: var(--text-color); background: var(--bg-color);">]].</span></i></div></div><div><br></div><div><br></div><div id="protonmail_signature_block" class="protonmail_signature_block"><div>—<br>Have a good one; keep it, light.<br>Kindly, rabbit . .. … ‘…^,^ 🐇🐇🐇<br><br>Sent from Callisto House mobile - Ganymede<br>:: decentralized mobile homeless solutions ::</div></div> <div class="signature_br" contenteditable="false"><br></div><div class="signature_br" contenteditable="false"><br></div>  <div><br></div><div><br></div>On Thu, Jan 12, 2023 at 11:23, Eliot Miranda <<a href="mailto:eliot.miranda@gmail.com" class="">eliot.miranda@gmail.com</a>> wrote:<blockquote class="protonmail_quote" type="cite">  Use selector keywords to get the keywords. This works for unary and binary selectors. <br><br><div dir="ltr"><span style="background-color: rgba(255, 255, 255, 0);">_,,,^..^,,,_ (phone)</span></div><div dir="ltr"><br><blockquote type="cite">On Jan 11, 2023, at 12:21 PM, rabbit <rabbit@callistohouse.org> wrote:<br><br></blockquote></div><blockquote type="cite"><div dir="ltr">  Yes to get the keywords and numArgs I.<div><br></div><div>keywords := selector subStrings: $:.<br><div><br></div><div id="protonmail_signature_block" class="protonmail_signature_block"><div>—<br>Have a good one; keep it, light.<br>Kindly, rabbit . .. … ‘…^,^ 🐇🐇🐇<br><br>Sent from Callisto House mobile - Ganymede<br>:: decentralized mobile homeless solutions ::</div></div> <div class="signature_br" contenteditable="false"><br></div><div class="signature_br" contenteditable="false"><br></div>  <div><br></div><div><br></div>On Wed, Jan 11, 2023 at 13:42, Ron Teitelbaum <<a href="mailto:ron@usmedrec.com" class="">ron@usmedrec.com</a>> wrote:<blockquote class="protonmail_quote" type="cite">  <div dir="ltr"><div class="gmail_default" style="font-size:small">Hi Rob,</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">Do you mean</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">aCompiledMethod selector?  </div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">All the best,</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">Ron Teitelbaum</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Jan 11, 2023 at 1:18 PM rabbit <<a href="mailto:rabbit@callistohouse.org">rabbit@callistohouse.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div><div><br></div><div>Hi y’all,</div><div><br></div><div>Is there a way I could acquire the list of argument names of a CompiledMethod?</div><div><u></u><u></u><br></div><div id="m_-6314072505865820355protonmail_signature_block"><div>—<br>Have a good one; keep it, light.<br>Kindly, rabbit . .. … ‘…^,^ 🐇🐇🐇<br><br>Sent from Callisto House mobile - Ganymede<br>:: decentralized mobile homeless solutions ::</div></div> <div><br></div><div><br></div> </div><br>
</blockquote></div>
</blockquote></div><span></span><br></div></blockquote></blockquote></blockquote></blockquote></body></html>