Equality of Recursive Structures [Was: Closure Compiler in 3.9 ?]

Mathieu Suen mathk.sue at gmail.com
Thu May 10 11:45:03 UTC 2007


For this case o problem a solution could be a hook and template
Object>>= anObject

	self == anObject ifTrue: [^ true]
	^self postCompare: anObject

	Mth



On May 10, 2007, at 8:46 AM, Andrew P. Black wrote:

> The situation is the same with my recursive block example.
>
> 	b := [(i:= i-1) > 0 ifTrue: [j := j+1 . b value.] ifFalse:[j]] .




More information about the Squeak-dev mailing list