Nice! So you mean block closures saves its context BlockContext and return(^) goes to just sender of the context. If Frank was not right, We couldn't send at:ifAbsent: with second parameter [^self] which exits the sender ' s method would not work. 2012. 3. 4. 오전 2:38에 "Frank Shearar" frank.shearar@gmail.com님이 작성:
Oh, not sender of the context, but sender of sender of it. It is context of block, and sender is a method which made the block, and sender of the method is caller of the method. 2012. 3. 6. 오후 9:33에 "강진오" jinoh67@gmail.com님이 작성:
Nice! So you mean block closures saves its context BlockContext and return(^) goes to just sender of the context. If Frank was not right, We couldn't send at:ifAbsent: with second parameter [^self] which exits the sender ' s method would not work. 2012. 3. 4. 오전 2:38에 "Frank Shearar" frank.shearar@gmail.com님이 작성:
squeak-dev@lists.squeakfoundation.org