From: Austin Ziegler Date: 2003-05-19T13:33:53+09:00 Subject: Re: ruby-dev summary #20159-20200 On Mon, 19 May 2003 13:07:59 +0900, Minero Aoki wrote: > [ruby-dev:20194] Re: compare between String and Exception > TANAKA Akira suggested raising exceptions on the comparison of > different type of objects. I'm not sure that either behaviour is a good idea, mostly because it seems to end up restricting Array contents to singular types if you want to sort the array. Granted, 1.6.8 fails on both forms of "1" <=> 1 with a TypeError, so this is a change, and sorted Array contents already couldn't be variant types because of that TypeError. Maybe we should figure out a way to sort objects of disparate types? (How? I donno. I've not really given it a lot of thought; I'm just tossing the idea around.) > [ruby-dev:20196] Re: (1.8.0-preview2) Proc#call LocalJumpError#cause or LocalJumpError#reason sounds fine to me. -austin -- Austin Ziegler, austin@halostatue.ca on 2003.05.19 at 00:27:12