On Jan 4, 2009, at 5:06 PM, Tom Cloyd wrote: > I wouldn't engage with a illegitimate copy - isn't playing fair at > all. I completely believe in "intellectual property". My copy > certainly WAS purchased from the Pragmatic Programmers website. And we appreciate that :) > Marvelous book, of course, but it does not, to my best knowledge, > contain a complete list of operators. I've done everything I can > think of to find it. I seriously doubt that it's there. The > precedence table on 324 is about precedence, and not a primary > presentation of operators and their function. Which methods/operators are missing from the precedence table? I'll add them. ?<char>, tho' is not an operator, any more than the quote is in "cat" r the slash in /cat/. In all three cases they're simply syntax for literals. > Here's the entry that IS there: > > Operator > as method call 82, 335 > precedence 324 > > To me, this is simply strange. Dave Thomas, whose contributions to > the Ruby community are inestimably valuable, may see this thread, in hich case I hope he comments. I've been completely bewildered about his for a long time. Let me know what to add, and I'll definitely consider adding it. But be aware that I don't really consider the concept of "an operator" to e particular primary in the description of the language, because in Ruby there'll always be debate about just what _is_ an operator. The precedence table is my best take on itͪ derived it from the parser, nd I believe it contains every operator-like thing I could find in there. But, as I said, I'd love to hear suggestions, as the third edition is nearing completion, and I'm always open for ideas to make it better. Cheers