what's wrong with this code in Dr.Scheme using Pretty Big? i seem to remember doing similar things in the past with no problem.
(lambda (x y) (set! (Frame-variables res) (append (Frame-variables res) (list (cons x y)))))
which returns the following error:
set!: not an identifier in: (Frame-variables res)
if i omit the (set! (Frame-variables res) ... ) part it works fine except of course that my list doesn't actually change. so it recognizes the second (Frame-varialbes res) but not the first one? or what's the deal with set! in that context?
hopefully you recognize that i have a struct called Frame with a variables field which is a list.