Douglas Katzman wrote:
>On Mon, Mar 31, 2014 at 12:37 AM, Krzysztof DrewniakI think the bikeshed should be red.
> TYPE-OF is sometimes going to be less aesthetic than you'd like.
> e.g. (TYPE-OF (ASH 1 70)) => (INTEGER 4611686018427387904)
> instead of INTEGER or BIGNUM
> Also may I suggest eliminating the parenthetical remark in the message
> and just say:
> "The value FOO is of type X but should be of type Y"
I'll also note that TYPE-OF and CLASS-OF could both lead to issues like
"The value [...] is of type CONS, but should be of type (CONS NIL ...),"
which is less than enlightening (for two reasons). Just to keep things as clear as possible, I'd prefer moving TYPE-OF/CLASS-OF info out of the main error message.
On the other hand, perhaps blue is a more appropriate colour… This requires more thought ;)