March 8, 2015
9:03 p.m.
Very informative article, thanks! Peter On Sat, Mar 7, 2015 at 2:17 PM, Sven Van Caekenberghe <sven@stfx.eu> wrote:
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.uhnak@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