On 04/18/2011 10:33 PM, Tobias Pape wrote:
>
> Am 2011-04-19 um 02:21 schrieb Dale Henrichs:
>
>> On 04/18/2011 04:57 PM, Ken Treis wrote:
>>> Hi All,
>>>
>>> I think it's great that ifNotNil: can take an argument now (as of GLASS 1.0-beta8.5). I wanted the other variants (#ifNil:ifNotNil: and vice versa) worked the same way; so I did the trivial implementation and saved the Squeak package as Squeak-KenTreis.255. Now this works:
>>>
>>> event target
>>> ifNil: [ html paragraph: 'No target has been set.' ]
>>> ifNotNil: [:target | html paragraph: target ]
>>>
>>> --
>>> Ken Treis
>>> Miriam Technologies, Inc.
>>>
>>
>> Excellent ... I should pick this one up in the next GLASS release ...
>
> Where we at it,
> what about adding the #cull: protocoll?
> I would do that if y'all want.
>
> So Long,
> -Tobias
I did add the cull: protocol, but I didn't implement all of the IfNil:
variants ....
Dale