[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: #f = #none ?
- To: Jim Mayer <mayer@wrc.xerox.com>
- Subject: Re: #f = #none ?
- From: Bob Kerns <rwk@crl.dec.com>
- Date: Thu, 19 Nov 92 15:29:47 -0500
- Cc: samp@kurz-ai.com (Sam Pilato), cfry@mit.edu, info-dylan@cambridge.apple.com
- In-reply-to: Your message of "Thu, 19 Nov 92 11:41:07 PST." <9211191941.AA01137@fliff.wrc.xerox.com>
Date: Thu, 19 Nov 1992 11:41:07 PST
From: Jim Mayer <mayer@wrc.xerox.com>
Why is that a problem? Under the semantics I gave above, #none is a
perfectly good value. If no default is given, it is passed right
through and the "right" thing would happen at the fuction that was
prepared to do the defaulting.
It suffers from the same punning problems as NIL. Anytime
you try encoding this out-of-band information in-band in
the data object, you incur risk of punning. Consider a
compiler or macro cogitating about what to do with this
#none argument.