home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #26 / NN_1992_26.iso / spool / comp / lang / scheme / 2578 < prev    next >
Encoding:
Text File  |  1992-11-13  |  1.1 KB  |  47 lines

  1. Newsgroups: comp.lang.scheme
  2. Path: sparky!uunet!snorkelwacker.mit.edu!bloom-beacon!INTERNET!dont-send-mail-to-path-lines
  3. From: Alan@lcs.mit.EDU (Alan Bawden)
  4. Subject: case sensitivity
  5. Message-ID: <9211122110.AA06534@corn-pops>
  6. Sender: Alan@lcs.mit.edu
  7. Organization: The Internet
  8. References: <1992Nov6.062357.8865@Informatik.TU-Muenchen.DE>
  9. Date: Thu, 12 Nov 1992 21:10:41 GMT
  10. Lines: 35
  11.  
  12.    Date: Fri, 6 Nov 1992 06:23:57 GMT
  13.    From: Daniel Kobler <kobler@informatik.tu-muenchen.de>
  14.  
  15.        'Wall is claimed to be the same as 'WALL,
  16.  
  17.    whereas
  18.  
  19.        (string->symbol "Wall") and (string->symbol "WALL") are different.
  20.  
  21.    And again my question: why these differences?...
  22.  
  23. Perhaps it has something to do with the fact that
  24.  
  25.   'foo;comment
  26.  
  27. is the same as
  28.  
  29.   'foo
  30.  
  31. whereas
  32.  
  33.   (string->symbol "foo;comment")
  34.  
  35. and
  36.  
  37.   (string->symbol "foo")
  38.  
  39. are different.
  40.  
  41. `string->symbol' isn't the reader (the thing that constructs Scheme objects
  42. given their printed representations).  The thing you are looking for might
  43. perhaps be called `string->object', but standard scheme doesn't have it.
  44. Perhaps it should.
  45.  
  46.                 - Alan
  47.