[CM] More format and/or optimiser woes

chohag at jtan.com chohag at jtan.com
Sun Apr 19 02:32:36 PDT 2026


The presense of the format instruction breaks the subsequent
symbol->string when a mystery #f shows up.

;symbol->string argument, #f, is boolean but should be a symbol

(define (broken . ARGS)
        (map (lambda (S)
                        (format #t "~A\n" (object->string S #t))
                        (if (string? S) S (symbol->string S)))
                ARGS))

(define (golf O) (broken "OP_" O))

(golf "NOOP")

Matthew


More information about the Cmdist mailing list