我正在尝试实现一种对单元格功能的读写。
(define (read-write-get cell) (cell (list)))
(define (read-write-set cell x) (cell (list x)))
(define (read-write-cell x)
(let ((cell '()))
(read-write-set cell x)))
(define w1 (read-write-cell 10))
(check-equal? 10 (read-write-get w1))
我不断收到错误
申请:不是程序;期望可以应用于给定参数的过程:'()参数...:错误跟踪...: