🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.modula2
Article #2308

RE: Why no ** operator in Modula2?

#2308
From: UNBCIC
Date: Thu, 06 Jun 1991 19:37
15 lines
1285 bytes
=> 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
Technical Details
Message-ID: <INFO-M2%91060617450699@UCF1VM.BITNET>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!bonnie.concordia.ca!uunet!cis.ohio-state.edu!ucbvax!BRFAPESP.BITNET!UNBCIC

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!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: <INFO-M2%91060617450699@UCF1VM.BITNET>
Date: 6 Jun 91 19:37:00 GMT
Sender: daemon@ucbvax.BERKELEY.EDU
Reply-To: Modula2 List <INFO-M2%UCF1VM.BITNET@ucf1vm.cc.ucf.edu>
Organization: The Internet
Lines: 15