This is the mail archive of the kawa@sourceware.org mailing list for the Kawa project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
Type checking seems to be a mixed bag in Kawa, most of the time the type errors seem to emanate from a ClassCastException, which seems quite elegant. I'll have to look into why cdr doesn't do it like this, but when I find out why, would it be okay to try and make it use the ClassCastException as well?
I think so.
(define-procedure cdr setter: set-cdr! (lambda (x :: <pair>) name: 'cdr x:cdr))
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |