home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / comp / lang / scheme / 2840 < prev    next >
Encoding:
Internet Message Format  |  1992-12-30  |  1.6 KB

  1. Path: sparky!uunet!crdgw1!rpi!zaphod.mps.ohio-state.edu!darwin.sura.net!spool.mu.edu!yale.edu!yale!gumby!destroyer!cs.ubc.ca!columbia.cs.ubc.ca!not-for-mail
  2. From: manis@cs.ubc.ca (Vincent Manis)
  3. Newsgroups: comp.lang.scheme
  4. Subject: Re: applying or
  5. Message-ID: <1hsiocINN2v6@columbia.cs.ubc.ca>
  6. Date: 30 Dec 92 16:29:00 GMT
  7. References: <PK.92Dec28100620@talitiainen.cs.tut.fi> <HULTQUIS.92Dec28102345@wk206.nas.nasa.gov> <MOB.92Dec30090646@strident.think.com>
  8. Organization: Institute for Pure and Applied Eschatology
  9. Lines: 20
  10. NNTP-Posting-Host: columbia.cs.ubc.ca
  11.  
  12. In article <MOB.92Dec30090646@strident.think.com> mob@strident.think.com
  13. (Mario O. Bourgoin) writes: 
  14. >I am at a loss for naming an existing programming language that has AND and
  15. >OR and where they do not have the same behavior as they do in Scheme.
  16. >Would some programming language cogniscenti be kind enough to name a few?
  17.  
  18. ISO Pascal, for one. Ada, for another (Ada has both McCarthy and
  19. `operator' booleans: I think the former is written `and then', and the
  20. latter just as `and'). 
  21.  
  22. The subject of this thread is a clear indication why there's a problem.
  23. People insist on thinking of `and' as a procedure, no doubt because many
  24. computers have an AND instruction. `and' is a control operation, just as
  25. are `if' and `cond'. 
  26.  
  27. -- 
  28. \    Vincent Manis <manis@cs.ubc.ca>      "There is no law that vulgarity and
  29.  \   Computer Science, Langara College     literary excellence cannot coexist."
  30.  /\  100 W. 49th Ave, Vancouver, BC, Canada (604) 324-5205  -- A. Trevor Hodge
  31. /  \ Co-author of ``The Schematics of Computation'', Prentice-Hall, Jan 1994
  32.