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

  1. Path: sparky!uunet!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!magnus.acs.ohio-state.edu!usenet.ins.cwru.edu!agate!doc.ic.ac.uk!uknet!mucs!m1!bevan
  2. From: bevan@cs.man.ac.uk (Stephen J Bevan)
  3. Newsgroups: comp.lang.scheme
  4. Subject: Re: overwriting files?
  5. Message-ID: <BEVAN.92Nov7134050@hippo.cs.man.ac.uk>
  6. Date: 7 Nov 92 13:40:50 GMT
  7. References: <1da7u4INN43t@agate.berkeley.edu> <Bx9MHE.6MM@rice.edu>
  8. Sender: news@cs.man.ac.uk
  9. Organization: Department of Computer Science, University of Manchester
  10. Lines: 17
  11. In-reply-to: dorai@cs.rice.edu's message of 5 Nov 92 22:58:25 GMT
  12.  
  13. In article <Bx9MHE.6MM@rice.edu> dorai@cs.rice.edu (Dorai Sitaram) writes:
  14.    Imho, Scheme needs to allow _some_ way to test if a file
  15.    exists and to delete a file. 
  16.    [ some systems return #f when failing to open a file ]
  17.    I'm curious that this area remains untouched in all the reports.
  18.  
  19. I assumed (without any foundation) that the reason this area hadn't
  20. been touched upon was because one possible soulution involves
  21. "exception handling" whose status has yet to be decided upon.  For
  22. example, if you try to open a file that doesn't exist should you
  23. return #f or call an "exception" (or just leave it undefined :-).  If
  24. "exceptions" are to be used, ther are number of different styles
  25. ranging from DIY cheap and cheerful ones created with say
  26. macros+call/cc+set! to larger ones requiring additional primitives
  27. such as the Common Lisp and MIT Scheme condition systems.
  28.  
  29. bevan
  30.