A few days ago I tried to define !| || and !|! as binary methods in Squeak. Today I tried the same with Pharo. They all fail because the parser interprets the '|' character (the second '|' character in the case of ||) as the beginning of the declaration of local variables.
Is this a parsing error or the way Squeak/Pharo is intended to be defined? Now you might think !| and !|! are pretty weird (which doesn't invalidate my question) but I think || is pretty natural as a binary method! Regards, Ralph Boland -- Had a wife and kids in Florida, Jack (Nicklaus) Went out for a "ride" but I couldn't get back As a ten timer being hunted down OR When the wife found out who I was knowing (biblically speaking) I hit a hydrant and I just kept going (till I hit a tree). ... _______________________________________________ Pharo-project mailing list [email protected] http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
