Due Friday, November 1, 5:00P
Convert the CPS procedures of the last assignment to a form that is independent of the representation of continuations. Implement the continuation ADTs using a procedure representation for problems 1 and 3 and a data-structure representation for problems 2, 4, and 5.Please, for each problem include a function that calls the cps transformed function with the appropriate continuation. For instance:
(define list-index
(lambda (a ls)
(list-index-cps a ls (make-final-valcont))))
Chris Haynes / chaynes@indiana.edu