From: "Mauricio Fernández" Date: 2003-09-11T07:11:01+09:00 Subject: Re: ANN: MetaTags 1.0 On Thu, Sep 11, 2003 at 04:05:26AM +0900, Ben Giddings wrote: > I like this better than Dave's suggestion of the Caml() function, but it > is somewhat confusing. Since the "&" is already used, I thought maybe > another operator might make more sense, but I discovered that there is > only a small set of operators that seem to be overloadable. Is there a > complete list somewhere of overloadable operators? Partial attempt: ruby -e "m = []; ObjectSpace.each_object(Class){ |c| m << \ c.instance_methods(true).reject{|a| a =~ /[a-z_]/} }; \ puts(*m.flatten.uniq)" =~ == === [] []= & >> + - < <=> > >= <= << ~ * | % / ^ +@ -@ ** (should have used inject :-P) -- _ _ | |__ __ _| |_ ___ _ __ ___ __ _ _ __ | '_ \ / _` | __/ __| '_ ` _ \ / _` | '_ \ | |_) | (_| | |_\__ \ | | | | | (_| | | | | |_.__/ \__,_|\__|___/_| |_| |_|\__,_|_| |_| Running Debian GNU/Linux Sid (unstable) batsman dot geo at yahoo dot com If you really want pure ASCII, save it as text... or browse it with your favorite browser... -- Alexandre Maret