Path: utzoo!utgpu!news-server.csri.toronto.edu!bonnie.concordia.ca!uunet!cis.ohio-state.edu!ucbvax!BRFAPESP.BITNET!UNBCIC From: UNBCIC@BRFAPESP.BITNET Newsgroups: comp.lang.modula2 Subject: RE: Why no ** operator in Modula2? Message-ID: Date: 6 Jun 91 19:37:00 GMT Sender: daemon@ucbvax.BERKELEY.EDU Reply-To: Modula2 List Organization: The Internet Lines: 15 => Someone opined in a Dr. Dobbs Journal many years back, that one obvious => addition to Modula-2 (or any other language, for that matter) is a keyword => like OPERATOR, or something, which would let you define thingies which you => use to perform operations on variables, like **. There are MANY languages with this features. In first place, functional languages, like LISP or SCHEME, doesn't have infixed operators, and treats all operators the same way. There are other languages working this way (Forth, for example, although it's possible to create infixed operators in Forth). Object Oriented Languages, like Smalltalk, usually let you create infixed operators. In fact, in Smalltalk it's possible to take three or more elements. (8-DCS) Daniel C. Sobral UNBCIC@BRFAPESP.BITNET