home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #26 / NN_1992_26.iso / spool / comp / lang / lisp / 2814 < prev    next >
Encoding:
Internet Message Format  |  1992-11-06  |  1.2 KB

  1. Path: sparky!uunet!know!hri.com!ukma!darwin.sura.net!zaphod.mps.ohio-state.edu!saimiri.primate.wisc.edu!ames!ads.com!chesapeake.ads.com!chesapeake!chyde
  2. From: chyde@pecos.ads.com (Clinton Hyde)
  3. Newsgroups: comp.lang.lisp
  4. Subject: Re: Is lisp easy to learn?
  5. Message-ID: <CHYDE.92Nov5151331@pecos.ads.com>
  6. Date: 5 Nov 92 20:13:31 GMT
  7. References: <1992Oct14.204748.6865@news.columbia.edu>
  8.     <TED.92Oct22102353@lole.nmsu.edu>
  9.     <1992Oct22.200657.16177@linus.mitre.org> <7848@skye.ed.ac.uk>
  10. Sender: usenet@chesapeake.ads.com (USENET News)
  11. Organization: Advanced Decision Systems, Mountain View, CA 94043, +1 (415)
  12.     960-7300
  13. Lines: 29
  14. In-Reply-To: jeff@aiai.ed.ac.uk's message of 3 Nov 92 19:05:33 GMT
  15.  
  16.  
  17. jeff's original prefix version:
  18.  
  19.  
  20.    defun equal x y
  21.      or eql x y
  22.     and consp x
  23.         consp y
  24.         equal car x car y
  25.         equal cdr x cdr y
  26.  
  27. worse than this even:
  28.  
  29.      eql x y or
  30.      consp x and
  31.      consp y and
  32.      car x equal car y and
  33.      cdr x equal cdr y
  34.  
  35. this is gibberish without the parentheses...
  36.  
  37.  -- clint
  38. --
  39.  
  40. Clint Hyde        "Give me a LispM or give me death!" -- anonymous
  41.  
  42. Advanced Decision Systems/BAH    Internet:  chyde@chesapeake.ads.com
  43. 1953 Gallows Rd, Suite 600
  44. Vienna, VA  22182-3934        (703) 902-7130
  45.