[squeak-dev] Re: Daily Commit Log

Nicolai Hess nicolaihess at gmail.com
Tue Aug 16 17:34:17 UTC 2016


2016-08-16 19:03 GMT+02:00 Eliot Miranda <eliot.miranda at gmail.com>:

>
>
> On Tue, Aug 16, 2016 at 9:45 AM, marcel.taeumel <Marcel.Taeumel at hpi.de>
> wrote:
>
>> Eliot Miranda-2 wrote
>> > Hi Marcel,
>> >
>> > On Sun, Aug 14, 2016 at 2:55 PM, &lt;
>>
>> > commits at .squeak
>>
>> > &gt; wrote:
>> > [snip]
>> >
>> >>
>> >> http://lists.squeakfoundation.org/pipermail/packages/2016-
>> >> August/068596.html
>> >>
>> >> Name: HelpSystem-Core-mt.92
>> >> Ancestors: HelpSystem-Core-mt.91
>> >>
>> >> Small fix to normalize selectors (needed for release notes).
>> >>
>> >> Is there a method to convert any string to a valid selector symbol?
>> >>
>> >
>> > No, and there can't be.  For example, no brackets "()[]{}" are legal in
>> > binary selectors.
>> >
>> > _,,,^..^,,,_
>> > best, Eliot
>>
>> Hi Eliot,
>>
>> I meant something like this:
>>
>> "H/el\lo () ## .Wo..rld" -> #helloWorld
>>
>
> It's a bit arbitrary isn't it?  Better to mint your own one liner:
>
> hackSymbol
>     ^(self select: #isLetter) asSymbol
>
> ;-)
>

String>>#asLegalSelector


>
>
>> Best,
>> Marcel
>>
>>
>>
>> --
>> View this message in context: http://forum.world.st/Daily-Co
>> mmit-Log-tp4911026p4911372.html
>> Sent from the Squeak - Dev mailing list archive at Nabble.com.
>>
>>
>
>
> --
> _,,,^..^,,,_
> best, Eliot
>
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20160816/1a50d528/attachment.htm


More information about the Squeak-dev mailing list