Hi Peter, See the section 'How can a block refer to itself ?' in https://medium.com/concerning-pharo/lambda-calculus-in-pharo-a4a571869594
HTH, Sven > On 07 Mar 2015, at 13:44, Peter Uhnák <i.uh...@gmail.com> wrote: > > Hi, > > I want to use a block from within itself... is there a better way than > passing itself? > Is there something like self/thisContext I can access? > > right now I can do > =============== > transformTree := [ :root :block | > root children do: [ :each | > each doSomething. > block value: each value: block > ] > ]. > > transformTree value: myRoot value: tranformTree. > =============== > > Thanks, > > Peter