From: matz@... (Yukihiro Matsumoto) Date: 2001-03-05T17:26:45+09:00 Subject: [ruby-talk:12001] Re: PLS-violation in proc as block method invocation!? Hi, In message "[ruby-talk:11999] PLS-violation in proc as block method invocation!?" on 01/03/05, Robert Feldt writes: |I guess the following behavior is due to block/proc conversions |in method invocation but IMHO we should work to avoid it since |it violates PLS (Principle of Least Surprise) and have practical drawbacks |(I have a memoizer (caching results based on parameters) which should be |able to detect when called with the same block/proc): OK, I will fix this by modifying Proc#==, although output like # remain different. matz.