- make-performance-measuring-environment measure-performance score-update!procedure
Make an environment that updates a score according to a performance measure.
- measure-performance
- A nullary procedure which measures performance
- score-update!
- A function which receives the performance measure and updates the score accordingly
(define (make-performance-measuring-environment measure-performance score-update!) (lambda () (score-update! (measure-performance))))