Hi,

In message "Re: Ruby as Smalltalk"
    on 02/04/23, Paul Brannan <pbrannan / atdesk.com> writes:

|but the syntax for using it is ugly:
|
|  exception_intercept(
|    proc {
|      raise MyException
|    },
|    proc { |exc|
|      case exc
|      when MyException
|        puts "Got the exception!"
|        kill_exception # don't let this exception propogate further
|      else
|        puts "UH OH!"
|      end
|    }
|  )

By RCR#90, it would be:

  exception_intercept({|| raise MyException},
    {|exc|
      case exc
      when MyException
        puts "Got the exception!"
        kill_exception # don't let this exception propogate further
      else
       puts "UH OH!"
      end
    }
  )

But I'm still not sure it's good enough.

							matz.