I'm trying to implement a sort of read-write to cell function.
(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))
I keep getting the error
application: not a procedure; expected a procedure that can be applied to arguments given: '() arguments...: errortrace...: