open-read/open-write

Ralf Juengling <[email protected]> Mon, 9 Nov 2009 21:23:57 -0800 (PST)
Newsgroups gmane.lisp.lush.devel
Message-ID <[email protected]>
The functions 'open-read' and 'open-write' do not
raise errors. The current behavior is this:

"The empty list is returned when an error occurs while
opening the file. .."

I can see that this may be useful. But I believe the
alternative behavior--open-read/write raising an error and
printing an informative error message when the operation
fails--is useful more often than the current behavior.

Does anybody remember why the current behavior was chosen?
Does anybody object if I change open-read/open-write (and
open-append) in lush2 to raise errors?

Ralf


------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july