[Newbies] Re: block in recursion, Any cure for that kind of situation?

Hilaire Fernandes hilaire at ofset.org
Wed Jan 23 08:51:58 UTC 2008

Indeed, and I am adapting from DrGeo1.1 which embede the Guile Scheme
interpretor, see


Le mardi 22 janvier 2008 à 15:42 -0800, Ben Goetter a écrit :
> >This is a maintenance nightmare waiting to happen.  Use a proper method call,
> Squeak Smalltalk blocks are just similar enough to Scheme lambdas that I still fall into this trap, too.
> (letrec ((carre (lambda (s1 s2 s3 s4 n)
>                  (if (> n 0)
>                   (carre (segment s1 s2)
>                          (segment s2 s3)
>                          (segment s3 s4)
>                          (segment s1 s4)
>                          (- n 1))))))
>  'oops-must-remember-this-is-Squeak-not-Scheme)
> Ben
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Ceci est une partie de message
	=?ISO-8859-1?Q?num=E9riquement?= =?ISO-8859-1?Q?_sign=E9e?=
Url : http://lists.squeakfoundation.org/pipermail/beginners/attachments/20080123/28cf2558/attachment.pgp

More information about the Beginners mailing list