Stéphane Ducasse | 1 Nov 2009 13:15
Picon
Picon
Favicon
Gravatar

Re: Print all Array either as literal form #( ... ) or brace form { ... } and abandon the default form anArray( ... )

probably.

Stef

On Nov 1, 2009, at 11:43 AM, Nicolas Cellier wrote:

> OK, then the selfEvaluatingForm should better send storeOn: in order
> to handle parenthesis problems.
>
> Nicolas
>
> 2009/11/1 Stéphane Ducasse <stephane.ducasse@...>:
>> Hi nicolas
>>
>> I saw the following:
>>        Print all Array either as literal form #( ... ) or brace  
>> form { ... }
>> and abandon the default form anArray( ... )
>>
>> Now I recall why I introduced anArray (....) for printing.
>> This is for case where the { . } does not work.
>>
>> Imagine that you have an object that does not have a printing version
>>
>> The key point of the design of self evaluating was that you could
>> select an expression ie
>>
>> {10 <at> 20 . 30 <at> 20} and print it and get the same object
>> this way we could manipulate a lot of objects much better in an
>> inspector or debugger.
(Continue reading)


Gmane