<< Previous exercise (3.23) | Index | Next exercise (3.25) >>
everything we need is just a definition of our own assoc, a simple test
; put and get (define operation-table (make-table (lambda (x y) (< (abs (- x y)) 0.1)))) (define get (operation-table 'lookup-proc)) (define put (operation-table 'insert-proc)) ; test (put 1.0 1.0 'hello) (get 1.01 1.01)
meteorgan