[Newbies] block in recursion, Any cure for that kind of situation?
mm3 at zepler.net
Wed Jan 23 00:17:35 UTC 2008
I figured it out - I meant monticello + squeaksource.
Having loaded newcompiler, ast, blockchecker, and newcompilerloader, it
doesn't seem to have made a difference.
On Jan 23, 2008 12:00 AM, Marcin Tustin <mm3 at zepler.net> wrote:
> So am I right in thinking that if I get newCompiler, blocks will work as I
> would expect them to (like lambdas)?
> If so, how do I get the most recent version? I remember there being
> something that has superceded squeakmap, but I can't seem to find it.
> On Jan 22, 2008 11:42 PM, Ben Goetter <goetter at mazama.net> wrote:
> > >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
> > _______________________________________________
> > Beginners mailing list
> > Beginners at lists.squeakfoundation.org
> > http://lists.squeakfoundation.org/mailman/listinfo/beginners
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Beginners