Hi!

In VisualWorks, blocks can be compared with each other. In Pharo the
comparison just checks for Identity. Is this on purpose? For reference,
that's how BlockClosure>>= is implemented in VW:


= aBlockClosure
        ^aBlockClosure class = self class and:
         [method = aBlockClosure method and:
          [outerContext = aBlockClosure outerContext and:
           [copiedValues = aBlockClosure copiedValues]]]

Kind regards,
Steffen

Reply via email to