[CM] Unexpected behavior of record types in lists
salutis at me.com
Tue May 17 00:04:07 PDT 2022
Hello smart people!
I found the following unexpected behavior of record types in lists:
(let ((proxies (list (make-proxy 'one)
;; EXPECTED: "one", ACTUAL: <proxy>
(display (proxy-type (list-ref proxies 0)))
;; EXPECTED: "two", ACTUAL: "two" (OK)
(display (proxy-type (list-ref proxies 1))))
It makes our R7RS program fail tests on s7 (but not Guile).
"Be especially critical of any statement following the word
-- Anna Pell Wheeler, 1883-1966
Rudolf Adamkovič <salutis at me.com> [he/him]
More information about the Cmdist