[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: :SUPERSEDE option to OPEN
- To: info-mcl
- Subject: Re: :SUPERSEDE option to OPEN
- From: meehan@src.dec.com (Jim Meehan)
- Date: 20 Oct 91 20:37:03 GMT
- Newsgroups: comp.lang.lisp.mcl
- Organization: DEC Systems Research Center
- References: <8bd6E@CCRMA-F4.Stanford.Edu>
- Reply-to: meehan@src.dec.com (Jim Meehan)
- Sender: news@src.dec.com (News)
In article <8bd6E@CCRMA-F4.Stanford.Edu>, TVR@CCRMA-F4.Stanford.Edu (Tovar) writes:
> My apologies if this was fixed in 2.0. I would appreciate it if OPEN would
> accept :SUPERCEDE as well as :SUPERSEDE to :IF-EXISTS. NeXT's Webster's claims
> it is merely a variation in spelling. This is a bug which could easily escape
> even a careful reading of one's code, and might only bite under extraordinary
> conditions, such as creating a file to write out a error report. Would anyone
> be bothered by the few extra words it take to accept both keywords?
> -- Tovar
I realize that lots of people misspell this word, but that's hardly a good
reason to change the language. Talk about opening the floodgates ...!
A much better solution would be for the compiler to check for legal keyword-
values. In cases rarer than hen's teeth, there would be an expression that
the compiler couldn't pre-evaluate, (OPEN file :IF-EXISTS (foo baz) ...),
but it can certainly spot ":SUPERCEDE" or ant other constant that's illegal
here.