home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / comp / lang / scheme / 2964 < prev    next >
Encoding:
Text File  |  1993-01-24  |  1.5 KB  |  38 lines

  1. Newsgroups: comp.lang.scheme
  2. Path: sparky!uunet!ferkel.ucsb.edu!taco!gatech!swrinde!cs.utexas.edu!zaphod.mps.ohio-state.edu!howland.reston.ans.net!spool.mu.edu!yale.edu!yale!gumby!destroyer!cs.ubc.ca!uw-beaver!newsfeed.rice.edu!rice!cs.rice.edu!dorai
  3. From: dorai@cs.rice.edu (Dorai Sitaram)
  4. Subject: Re: Unspecified values in R4RS
  5. Message-ID: <C1DG0r.7v6@rice.edu>
  6. Sender: news@rice.edu (News)
  7. Organization: Rice University, Houston
  8. References: <OZ.93Jan22114638@ursa.sis.yorku.ca> <1jpf3e$2m1@agate.berkeley.edu> <OZ.93Jan22174029@ursa.sis.yorku.ca>
  9. Date: Sun, 24 Jan 1993 18:43:38 GMT
  10. Lines: 26
  11.  
  12. In article <OZ.93Jan22174029@ursa.sis.yorku.ca> oz@ursa.sis.yorku.ca (Ozan Yigit) writes:
  13. >But if you want trivial interactions such as these to work as you would
  14. >like them to, you may just as well do something like what David Kelsden
  15. >sent me the other day:
  16. >
  17. >   (define void (string->symbol ""))
  18. >
  19. >   (define (praise thing)
  20. >     (display thing)
  21. >     (display " is great!")
  22. >     void)
  23. >
  24. >Is this not easier than changing the whole language definition? ;-)
  25.  
  26. This isn't portable.  Some Schemes (e.g., Chez), as also CL,
  27. preserve read/write invariance -- if you write a symbol,
  28. they let you read it back.  Obviously then, the symbol for
  29. "" can't print as noshow.  (Using some agreed-upon
  30. slashification standard, it prints as || or \<space> or some
  31. such.)
  32.  
  33. --d
  34. -- 
  35.  
  36. dorai@cs.rice.edu      !    It may be that the gulfs will wash us down;
  37. dorai@owlnet.rice.edu  !      it may be we shall touch the Happy Isles.
  38.