[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Issue: COERCE-INCOMPLETE



While I support the idea of filling out a more complete coercion matrix for
Common Lisp, I find some of the specifics of this proposal counter-intuitive
and unpleasant.  For example, I would like the following to return 5:

    (COERCE "5" 'INTEGER)

I would also like the following to work and return 456:

    (COERCE "456" 'INTEGER)

This proposal would require the first expression to return 53 (for ascii
implementations) and force the second expression to signal an error (I
think).