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

  1. Path: sparky!uunet!zaphod.mps.ohio-state.edu!magnus.acs.ohio-state.edu!usenet.ins.cwru.edu!gatech!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: standards
  5. Date: 21 Dec 1992 18:32:12 -0800
  6. Organization: Institute for Pure and Applied Eschatology
  7. Lines: 57
  8. Message-ID: <1h5uncINN9qj@columbia.cs.ubc.ca>
  9. References: <FOX.92Dec19121159@graphics.nyu.edu> <1992Dec21.185227.19304@netcom.com> <1h5llbINNk8p@agate.berkeley.edu>
  10. NNTP-Posting-Host: columbia.cs.ubc.ca
  11.  
  12. In article <1h5llbINNk8p@agate.berkeley.edu> bh@anarres.CS.Berkeley.EDU
  13. (Brian Harvey), subjunctively, talks of R5RS.
  14.  
  15. >* graphics.  Simple.  (DRAW-LINE x1 y1 x2 y2) is almost enough for me.
  16. >Oh, and clearing the screen or the window.
  17. Absolutely! I'd put these facilities in the same class as load or
  18. transcript-on: they're not logically necessary, but it's worth defining 
  19. them, simply so that each implementation doesn't end up reinventing
  20. them. 
  21.  
  22. >I don't care if there is a standard window control package.]
  23. I would vote no on a window control package. Provide a minimal set of
  24. interaction/graphics facilities, and leave the rest to implementations.
  25. I suspect that anyone who wants to do real graphics in Scheme will end
  26. up using real graphics primitives, and I don't think that RnRS is the
  27. right place to formalize window semantics. 
  28.  
  29. >* Expunge "the return value is unspecified" from the standard.  All of them
  30. >should be replaced by "the return value is the non-printing object."  This
  31. >sounds trivial but it's really a pain in the neck for beginners.
  32. Not quite. `The non-printing-object' is a hack. A void type should be
  33. identified. Following Chez Scheme, we add (void), which returns the sole
  34. value of this type, and (void? x) which is a type predicate. We further 
  35. include void in the list of disjoint types. Although R4RS doesn't talk
  36. much about a top level, a note should be added to the effect that it is
  37. intended that, in a top level, a void result should produce no printout. 
  38.  
  39. >* Clarify what happens when you open-output-file a name that already exists.
  40. >I vote for replacing the old one, but again, any consistent thing is
  41. >tolerable. 
  42. >* Delete-file.
  43. Again, these are trivial to specify in ways which are OS-independent.
  44. It's fine with me if they produce errors, but *some* clearly specified
  45. action should be defined. 
  46.  
  47. I'm co-writing a book which uses Scheme. The only other non-standard
  48. features which  we rely on, other than the above, are trace and gensym.
  49. gensym is pretty trivial to define if it's non-present (and therefore
  50. not worth putting into the standard, as far as I'm concerned). trace is
  51. difficult (particularly for handling tail recursion), but I'd really
  52. like to see some sort of specification on it. 
  53.  
  54. I was really happy with the way the R4RS process was opened up, via the
  55. mailing list, but I would really appreciate some more formal
  56. consultation process the next time around. For example, drafts could be
  57. left on altdorf for some clearly-defined period, and an email address
  58. could be established for submitting proposals. It's clearly the
  59. committee's call as to what's in the Report, but it might help make
  60. their job easier if they know that some trivial feature has wide demand,
  61. whereas another is really of no interest to anyone. 
  62.  
  63.  
  64. -- 
  65. \    Vincent Manis <manis@cs.ubc.ca>      "There is no law that vulgarity and
  66.  \   Computer Science, Langara College     literary excellence cannot coexist."
  67.  /\  100 W. 49th Ave, Vancouver, BC, Canada (604) 324-5205  -- A. Trevor Hodge
  68. /  \ Co-author of ``The Schematics of Computation'', Prentice-Hall, Jan 1994
  69.